Damisco87's Posts
Nairaland Forum › Damisco87's Profile › Damisco87's Posts
1 2 (of 2 pages)
strangest:Please, can you link me up? |
skarlett:Even if I have to pay for flight ticket or visa fee, I do not mind. I am more interested in getting the living expenses sponsored. |
EMMAACHILE:Exactly, this was what I was trying to point out. Even though everybody might not be able to benefit from this but I beleive it is possible. Please, if you know of any scholarship like this in Norway or that studying in Norway will benefit from, kindly let me know. |
Thank you! EMMAACHILE: |
skarlett:Thank you for your reply. However, I was seeing some scholarship links online, although I could not see Nigeria as an eligible country. How are the Nigerians studying in Norway coping? I want to believe there should be a legit way out of this. |
Hi everyone, I am very happy seeing this thread on Nairaland. I am a graduate of Plant Breeding and currently considering studying in Norway for MSc. I saw that a lot of schools in Norway has tuition-free programmes. Is there any scholarship that can cater for living and travel expenses in Norway? Please, I need help on this and I am planning to apply ASAP if there is any school that offers Plant Biotechnology or Plant Breeding. Thank you very much! |
damisco87: N2M..... It is negotiable |
damisco87: Do you have a business, events or any question and you need an avenue to reach everyone in the rock city? kindly follow @rockcity_link on twitter. type whatever thing you have and mention @rockcity_link & you are already reaching everyone. |
N2M..... It is negotiable |
Do you have a business, events or any question and you need an avenue to reach everyone in the rock city? kindly follow @rockcity_link on twitter. type whatever thing you have and mention @rockcity_link & you are already reaching everyone. rockcitylink is a social media gateway that stands to provide security info, real-time traffic update,biz info, jobs & scholarship updates to everyone in the rock city. if you see anything that is a threat to security in your hood just tweet and mention @rockcity_link. you never can say who your info might be saving. in case you come by an accident as well, just do the same. we also want you to help us tweet traffic update in your hood everytime to allow every road usher to have smooth movement. we promise to give you scholarship & job updates as tweet everytime. |
Pls! Can you get me any school for M. Agric (Plant Breeding, Plant Biotechnology or plant Molecular study)? Thanks |
damisco87: An uncompleted house for sale at OFADA. The house has reached window level. It is very close to the trinity college and its proposed university along expRess of papa lanto.... If interested, kindly come with your layer to d site. For more info get Damisi on 08062595651 or damisco87@aim.com |
An uncompleted house for sale at OFADA. The house has reached window level. It is very close to the trinity college and its proposed university along expRess of papa lanto.... If interested, kindly come with your layer to d site. For more info get Damisi on 08062595651 or damisco87@aim.com Or via BB 2648204A Thanks |
An uncompleted house for sale at OFADA. The house has reached window level. It is very close to the unity college and its proposed university along expRess of papa lanto.... If interested, kindly come with your layer to d site. For more info get Damisi on 08062595651 or damisco87@aim.com Or via BB 2648204A Thanks |
Hi everyone. In this tutorial I will tech you how to make a PHP login form using sessions. You will need four files, one named form.php, one named login.php, another named auth.inc and the last named protected.php NB these names can be changed at your will, but make sure you rename them throughout the tutorial. Step 1) Open a blank document in Notepad and type the following: Listing 1.1 – form.php <html> <head> <title>Login Form</title> </head> <body> <form method="post" action="login.php"> Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" value="Login" /> </form> </body> </html> Save this file as form.php. Here we have set up a simple form that will pass submitted information onto the file login.php. GET A FREE HOSTING AND FREE DOMAIN NOW. It is absolutely free [url]http://affiliate.doteasy.com/index.cfm?M=red&B=5&T=729826&A=damisco87][/url] Step 2) Now open a second blank document in Notepad and enter the following: Listing 2.1 – login.php <?php session_start(); $passwords = array("harry" => "dirtyharry", "george" => "gorgieboy01", "bob" => "bigbobby", "jack" => "jackthelad" ;if (!$_POST["username"] or !$_POST["password"]) { echo "Please enter your username and password."; exit; } if ($_POST["password"] == $passwords[$_POST["username"]]) { echo "Login successful!"; $_SESSION["auth_username"] = $_POST["username"]; } else { echo "Login incorrect, please try again."; } ?> <html> <head> <title>Login</title> </head> <body> Content in here will only be shown if the username and password supplied are correct. </body> </html> Save this file as login.php. Notice the php script comes before even the <html> tags. This ensures that the php is executed before the page gets rendered, so if the credentials were wrong the offender cannot see anything protected. Basically here we tell the browser to start a session to store usernames and passwords in. We then set up an array called passwords which contains a list of usernames and respective passwords, from Harry to Jack. The next part of the script checks inequality between the submitted credentials and the known credentials. The exclamation mark means “Does not equal”. If the credentials are indeed false/incorrect the script will display the message “Please enter your username and password.” One the users screen. The exit; function stops the script from continuing as soon as incorrect details are given. The following section of the script checks for equality inequality between the submitted credentials and the known credentials. The double equals checks for equality, whereas a single equals assigns a value to a variable. If the credentials are correct the script displays "Login successful!" on the users screen. Then a session is started called “auth_username”. This allows the browser to remember whether or not a user is logged in, which means that they will not have to login again on a different page. The final part of the php covers all other eventualities and displays "Login incorrect, please try again." to the user. The rest of the page is shown below, between the <html> tags. The message between the <body> tags will not be visible unless the user is logged in. Step 3) You have pretty much finished creating a php secure login, but to illustrate the functionality of sessions, you may want to continue through Step 3. Open your third document in notepad and type the following: Listing 3.1 – auth.inc <?php session_start(); if (!isset($_SESSION["auth_username"])) { echo "You must be logged in to view this page"; exit; } else { echo "Hello, you're logged in!"; } ?> auth.inc stores the information related to your session. You could type the above in every document, but it would become cumbersome and annoying. By including it using php you only need type it once and pull it in using the include function, as shown below. The final script, protected.php, will be an arbitrary page that you wish to secure. Listing 3.2 – protected.php <?php include "auth.inc"; ?> <html> <head> <title>Protected Page </title> </head> <body> Content in here will only be shown if the username and password supplied are correct. </body> </html> This script simply includes auth.inc at the very beginning. The placement of the script is essential to allowing the script to function properly. This will run the script typed in Listing 3.1, and will verify the credentials of the user. If they are legitimate the page will continue, displaying everything between the <body> tags, otherwise it will terminate, displaying only “You must be logged in to view this page.” If you want to protect any further pages you simply need to add the include function at the very top of every page. P.S. This script is not intended for protection of highly confidential documents, but rather for client extranets etc. check out my blog http://damisco87..com http://damisco87. |
Hi everyone. In this tutorial I will tech you how to make a PHP login form using sessions. You will need four files, one named form.php, one named login.php, another named auth.inc and the last named protected.php NB these names can be changed at your will, but make sure you rename them throughout the tutorial. Step 1) Open a blank document in Notepad and type the following: Listing 1.1 – form.php <html> <head> <title>Login Form</title> </head> <body> <form method="post" action="login.php"> Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" value="Login" /> </form> </body> </html> Save this file as form.php. Here we have set up a simple form that will pass submitted information onto the file login.php. GET A FREE HOSTING AND FREE DOMAIN NOW. It is absolutely free [url]http://affiliate.doteasy.com/index.cfm?M=red&B=5&T=729826&A=damisco87][/url] Step 2) Now open a second blank document in Notepad and enter the following: Listing 2.1 – login.php <?php session_start(); $passwords = array("harry" => "dirtyharry", "george" => "gorgieboy01", "bob" => "bigbobby", "jack" => "jackthelad" ;if (!$_POST["username"] or !$_POST["password"]) { echo "Please enter your username and password."; exit; } if ($_POST["password"] == $passwords[$_POST["username"]]) { echo "Login successful!"; $_SESSION["auth_username"] = $_POST["username"]; } else { echo "Login incorrect, please try again."; } ?> <html> <head> <title>Login</title> </head> <body> Content in here will only be shown if the username and password supplied are correct. </body> </html> Save this file as login.php. Notice the php script comes before even the <html> tags. This ensures that the php is executed before the page gets rendered, so if the credentials were wrong the offender cannot see anything protected. Basically here we tell the browser to start a session to store usernames and passwords in. We then set up an array called passwords which contains a list of usernames and respective passwords, from Harry to Jack. The next part of the script checks inequality between the submitted credentials and the known credentials. The exclamation mark means “Does not equal”. If the credentials are indeed false/incorrect the script will display the message “Please enter your username and password.” One the users screen. The exit; function stops the script from continuing as soon as incorrect details are given. The following section of the script checks for equality inequality between the submitted credentials and the known credentials. The double equals checks for equality, whereas a single equals assigns a value to a variable. If the credentials are correct the script displays "Login successful!" on the users screen. Then a session is started called “auth_username”. This allows the browser to remember whether or not a user is logged in, which means that they will not have to login again on a different page. The final part of the php covers all other eventualities and displays "Login incorrect, please try again." to the user. The rest of the page is shown below, between the <html> tags. The message between the <body> tags will not be visible unless the user is logged in. Step 3) You have pretty much finished creating a php secure login, but to illustrate the functionality of sessions, you may want to continue through Step 3. Open your third document in notepad and type the following: Listing 3.1 – auth.inc <?php session_start(); if (!isset($_SESSION["auth_username"])) { echo "You must be logged in to view this page"; exit; } else { echo "Hello, you're logged in!"; } ?> auth.inc stores the information related to your session. You could type the above in every document, but it would become cumbersome and annoying. By including it using php you only need type it once and pull it in using the include function, as shown below. The final script, protected.php, will be an arbitrary page that you wish to secure. Listing 3.2 – protected.php <?php include "auth.inc"; ?> <html> <head> <title>Protected Page </title> </head> <body> Content in here will only be shown if the username and password supplied are correct. </body> </html> This script simply includes auth.inc at the very beginning. The placement of the script is essential to allowing the script to function properly. This will run the script typed in Listing 3.1, and will verify the credentials of the user. If they are legitimate the page will continue, displaying everything between the <body> tags, otherwise it will terminate, displaying only “You must be logged in to view this page.” If you want to protect any further pages you simply need to add the include function at the very top of every page. P.S. This script is not intended for protection of highly confidential documents, but rather for client extranets etc. check out my blog http://damisco87..com http://damisco87. |
GET A GOOD JOB HERE POST YOUR RESUME [url]http://www.tkqlhce.com/click-3351108-8784096[url] <a href="http://www.tkqlhce.com/click-3351108-8784096" target="_top"> <img src="http://www.ftjcfx.com/image-3351108-8784096" width="468" height="60" alt="e-resume.net Ranked Best of the Bunch -LA Times" border="0"/></a> |
I was told that it came up on today's punch and it is going to be 24th of this month but i am confused because i don't even know which is which out of all the date said here now. it is not even on their site at all |
for the pre - degree students all I know about Unaab is that if you score 180, you are qualified for Post Jamb,. But if you are not a Pre-degree student you must score at least 200. |
Hello guys, i scored 202 computer science when is the post jamb and what is the cut off? |
I scored 202 computer science FUTA and UNAAB. Pls advise me. |
i scored 202 computer science FUTA and UNAAB will i be able to get admited? |
go to jamb office to complain they will guild u through |
thanks I have been able to solve that but Jamb has made the card invalid in my hand it told me limited time reached. so i have to get another card you won't believe it that i have bought 2 cards already. i will post my score after i check it. thanks so much. |
basket mouth is d best, his mama pickin, no one has being able to beat him, chop pufpuf, chop chin chin |
it's true Unilorin is not my type of school because of how is school is been run. imaging someone scoring well in the post jamb and not get admitted also someonescoring zero - 2 getting admitted. they are being controversial. I don't like d schl jare. it is corrupt EFCC needs to come in, |
Whenever i tried checking my result on www.myjambresult.com or www.jambites.org its always says invalid pin what is happening pls help!!!! |
1 2 (of 2 pages)
;