Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,189,499 members, 7,937,442 topics. Date: Monday, 02 September 2024 at 03:31 AM |
Nairaland Forum / Damisco87's Profile / Damisco87's Posts
(1) (2) (of 2 pages)
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 4:23pm On Mar 30, 2018 |
strangest: Please, can you link me up? |
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 8:09am On Mar 29, 2018 |
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. |
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 8:07am On Mar 29, 2018 |
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. |
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 4:54pm On Mar 28, 2018 |
Thank you! EMMAACHILE: |
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 4:53pm On Mar 28, 2018 |
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. |
Travel / Re: Nigerians In Oslo, Norway by damisco87(m): 3:22pm On Mar 28, 2018 |
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! |
Properties / Re: An Uncompleted Building For Sale At OFADA Ogun State by damisco87(m): 11:10pm On Nov 08, 2013 |
damisco87: N2M..... It is negotiable |
Celebrities / Re: Be Involved by damisco87(m): 11:09pm On Nov 08, 2013 |
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. |
Properties / Re: An Uncompleted Building For Sale At OFADA Ogun State by damisco87(m): 12:34am On Nov 08, 2013 |
N2M..... It is negotiable |
Celebrities / Be Involved by damisco87(m): 12:33am On Nov 07, 2013 |
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. |
Educational Services / Re: Request For Cheap And Affordable Universities In Europe Here by damisco87(m): 12:41am On Jul 22, 2013 |
Pls! Can you get me any school for M. Agric (Plant Breeding, Plant Biotechnology or plant Molecular study)? Thanks |
Properties / Re: An Uncompleted Building For Sale At OFADA Ogun State by damisco87(m): 11:40am On Jun 14, 2013 |
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 |
Properties / An Uncompleted Building For Sale At OFADA Ogun State by damisco87(m): 3:47pm On May 30, 2013 |
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 |
Properties / An Uncompleted Building For Sale At OFADA Ogun State by damisco87(m): 10:56am On May 30, 2013 |
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 |
Webmasters / How To Design A Free Php Login Page by damisco87(m): 7:47pm On Feb 08, 2009 |
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. |
Webmasters / How To Design A Php Login Page by damisco87(m): 7:36pm On Feb 08, 2009 |
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. |
Jobs/Vacancies / Get A Good Job With A Good Resume by damisco87(m): 12:41pm On Feb 07, 2009 |
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> |
Education / Re: Futa Post-ume Date Out by damisco87(m): 4:17pm On Jul 09, 2008 |
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 |
Education / Re: Jamb Result For Unaab Pre-degree Students. by damisco87(m): 12:25pm On Jun 25, 2008 |
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. |
Education / Re: When Is Futa Post-ume Coming Up? by damisco87(m): 4:48pm On Jun 13, 2008 |
Hello guys, i scored 202 computer science when is the post jamb and what is the cut off? |
Education / Re: Jambites: Post Your UME Results Here! by damisco87(m): 4:43pm On Jun 13, 2008 |
I scored 202 computer science FUTA and UNAAB. Pls advise me. |
Education / Re: Jambites: Post Your UME Results Here! by damisco87(m): 11:01am On Jun 13, 2008 |
i scored 202 computer science FUTA and UNAAB will i be able to get admited? |
Education / Re: Problem With Jamb Results! by damisco87(m): 7:39pm On Jun 04, 2008 |
go to jamb office to complain they will guild u through |
Education / Re: Problem With Jamb Results! by damisco87(m): 6:27pm On Jun 04, 2008 |
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. |
TV/Movies / Re: Who Is The Best Comedian You Know? by damisco87(m): 8:47pm On Jun 02, 2008 |
basket mouth is d best, his mama pickin, no one has being able to beat him, chop pufpuf, chop chin chin |
Education / Re: Come To My Aid by damisco87(m): 8:37pm On Jun 02, 2008 |
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, |
Education / Problem With Jamb Results! by damisco87(m): 7:35pm On Jun 01, 2008 |
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)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 38 |