PHP Tutorial // User Login and Cookies
By Free Tutorials on Aug 29, 2008 in PHP Programming Tutorials
A PHP Tutorial creating a User Login and Setting Cookies.
By Free Tutorials on Aug 29, 2008 in PHP Programming Tutorials
A PHP Tutorial creating a User Login and Setting Cookies.
Sorry, comments for this entry are closed at this time.
© Copyright Free Tutorials 2007. All rights reserved.
WordPress Wordpress Themes XHTML
|
|
Just enter your name and email below |
do you have any web pages currently on line, that you have programmed?
turbojulio | Aug 29, 2008 | Reply
didn’t know michael jackson knew php
grabiirboubi | Aug 29, 2008 | Reply
Ey men!
Las cookies no son seguras!
Cualquiera puede saltarselas (Pues la cookies se guardan en el equipo del usuario)
Es recomendable que uses Sesiones que se almacenan en el servidor:
Iloveid | Aug 29, 2008 | Reply
ok? lol
lplieutenant | Aug 29, 2008 | Reply
you have ugly voice :o)
theidproblem | Aug 29, 2008 | Reply
Im luving it, keep up the good work.
54spiritedwill54 | Aug 29, 2008 | Reply
what did your friend ever do to you, lol
panthar14 | Aug 29, 2008 | Reply
phone ringing? lol
panthar14 | Aug 29, 2008 | Reply
you shouldn’t put username and passwiord in cookies, and mysql is a good idea but shouldn’t you use that for user and registration
SmarticalsAndCheese | Aug 29, 2008 | Reply
I changed something on the html_output.php file and now i cant flog into the admin console, it just refreshes when i try.
Any ideas how i can fix this ?
fatuesque | Aug 29, 2008 | Reply
This is sooooo usecure, you MUST NOT put an username or id in a cookie! And it is also NOT Encoded, you should Shame yourself!!
jefwizkid | Aug 29, 2008 | Reply
yeah. i also thought it was the cookies that it is in the kitchen
xiiaoRABBIT | Aug 29, 2008 | Reply
lmao nope
lukechris1995 | Aug 29, 2008 | Reply
I thought it was the edible cookies. O.O
456nto | Aug 29, 2008 | Reply
great thanks!
caborela | Aug 29, 2008 | Reply
heard music in the background lol nice vid
lplieutenant | Aug 29, 2008 | Reply
mysql_real_escape_string($user),
mysql_real_escape_string($password)
additionally you would want to clean the user input allowing only A-Z 0-9 characters. you can do that with preg_replace() or a regular expression function.
also i want to say screw addslashes and magic quotes. woot woot PHP 6.0
JUDASismyHERO | Aug 29, 2008 | Reply
I guess that was pretty cool.
Dmain1Event | Aug 29, 2008 | Reply
I really enjoyed you php training. You sound young and so bright! I can not find a link to your web site for the code. Thanks for you help, great work!
42technoman | Aug 29, 2008 | Reply
Awesome, thanks
lifeg0eson666 | Aug 29, 2008 | Reply
How you can secure form from sql Injections? i am new to php so i really don’t know how to secure form from sql injectins.
HardCoreMore | Aug 29, 2008 | Reply
Good work kid. Really helped me.
JeboslavKoljevich | Aug 29, 2008 | Reply
good luck. you’re only watching one of my oldest tutorials.
lifeg0eson666 | Aug 29, 2008 | Reply
you should explain what the functions does.
igotnuclearbombs | Aug 29, 2008 | Reply
Hey, I’m about your age and just watched your video. You really need to introduce some kind of sanitation of user input as your current script is at risk of hackers and scriptkiddies(tm).
If you need help implementing this just give me a shout.
Ross
——————–
4 Years PHP/MySQL/Linux experience including application development and dns management
rossalexwilson | Aug 29, 2008 | Reply