18Jan/1025
PHP Tutorial #4 – Login form (updated)
This PHP tutorial elaborates on my second PHP tutorial which covers authentication. This PHP tutorial covers a more advanced PHP script which allow/denies users access to a specific website. Visit www.rascal999.co.uk for more info, tutorials and forum! Apologies for the belch half way through, I was unaware I uploaded that version of the tutorial
Please view the video response as it helps prevent possible SQL attack on your database(s)
No related posts.


June 15th, 2009 - 13:16
you can find some “phpmyadmin” Tutorial
June 18th, 2009 - 17:46
i just get this when i try to enter the page i made: Parse error: syntax error, unexpected T_STRING in C:\AC Web Ultimate Repack\Server\htdocs\index.php on line 29
July 5th, 2009 - 02:01
if it’s not fixed already post the code at pastebin(dot)com and give me the url i can take a look
a t_string error can mean alot
it could be as basic as
var x = “hello”
var y = “hello2″;
the second line would get an error because the line above doesn’t have ;
July 9th, 2009 - 16:37
das ist ein gutes tutorial aber müsste der name nicht PHP Tutorial #3 – Login form (updated)
heißen
July 20th, 2009 - 10:10
LOL!!! 1:24
July 27th, 2009 - 22:12
‘ok
July 30th, 2009 - 13:35
if your domain is registered from godaddy, they provide free hosting which provides SQL
August 3rd, 2009 - 23:50
HA! 1:24. WIND FAIL! nice tutorial btw. It helped a lot! =]
August 28th, 2009 - 13:53
1:22 that ownz!
August 31st, 2009 - 15:47
dude you wrote down
$result=mysql_result($get, 0);
and
if($result!=1) echo “Login Fail”;
else{
echo “Login Succes!”;
$_SESSION['user']=$user;
wrong
September 3rd, 2009 - 02:45
I am not sure why people are burying you…You are correct!
September 10th, 2009 - 10:43
This just isn’t the way to authenticate a login. It is sql injection friendly. It is ok in a basic tutorial like this if it would be mentioned somewhere. A beginner programmer needs to get informed about these pitfalls.
A rule of thumb is to never let a variable go unchecked into a sql query.
The point I’m making is that someone who wants to learn how to do this, can’t take the info in this video and applicate it on a public website. Otherwise, well organized.
September 30th, 2009 - 07:49
pretty obvious mate
October 4th, 2009 - 05:09
he spelled NAD his mind is subconciously thinking about nads.
October 9th, 2009 - 14:21
yes, that was my point. Do you know how many tutorials that use unchecked code? There are lots of them. and since a lot of people go to youtube for information, you need to scream FOUL when it’s called for.
October 17th, 2009 - 05:25
what hosting did you use for you Sql table
October 18th, 2009 - 23:42
woow are you mad at that keyboard?
October 29th, 2009 - 22:01
hey what program are u useing? im new and i gotta be a pro by halloween!!!
November 11th, 2009 - 02:57
fart! lmao!
November 17th, 2009 - 12:13
Notepad++ but i’m not certain that’s the name use phpDesigner
November 17th, 2009 - 12:16
no berp.
December 1st, 2009 - 21:21
you should be a pro now
January 6th, 2010 - 07:30
NOTEPAD ++ FTW!
January 6th, 2010 - 07:31
Programers usually are I do that allot too.
January 12th, 2010 - 08:55
hells yeah, that shit highlights syntaxes
fuckin epic easy to do shit
Notepad++ ftw indeed…