Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/*******/public_html/checklogin.php on line 8
line 8:mysql_connect($host, $username, $password) or die("error");
can any one plzz help me i am new to this stuff and i would really like to learn i did every thing this guy said in his videos but my checklogin.php page doesnt work it is just blank it doesnt show any thing can any one plzz help me thanks.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\checklogin.php on line 9
@deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.
@deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.
First thing about these errors is to normally check for incorrect syntax in the proceeding line. An unexpected t_variable usually means you haven't closed brackets, or put in the closing curly brace etc.
Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files\xampp\htdocs\tests\login.php:11) in D:\Program Files\xampp\htdocs\tests\login.php on line 28
You are the true man... it's the best tutorial because you explain step by step... you are the best... my web site that i'm making as soon as a finish i will let you know... thank's man
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampplite\htdocs\login\checklogin.php on line 9
Access denied for user 'ODBC'@'localhost' (using password: NO)
In some cases that is a good idea, but for some people after they learn something one way they don't think about doing it another way. Also after learning something it is usually hard to unlearn and do it another way..
You guys are doing something wrong. Make sure ALL of your code is correct, and your database is correct. one small capitalization error can make a huge difference. Thank you rrphillips for a video tutorial of this!
How do i fix this issue?
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Larsey123IsMe 6 months ago in playlist PHP and MySQL
711Jake711 1 year ago
This has been flagged as spam show
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/*******/public_html/checklogin.php on line 8
line 8:mysql_connect($host, $username, $password) or die("error");
why error?
xhunter1995 1 year ago
Comment removed
xhunter1995 1 year ago
Comment removed
xhunter1995 1 year ago
Updated code for PHP5
phpeasystep . com / phptu / 6
remove spaces, add html after the 6
look at the bottom of the page
30PAGES 1 year ago
Comment removed
30PAGES 1 year ago
Comment removed
deadwing5 1 year ago
Enter this as Password:
something' OR '1=1
And you're logged in ...
m0gria 1 year ago
I get this: Parse error: syntax error, unexpected T_STRING
and this what i have in there line 20
session_register("myusername");
ntrotter8 1 year ago 2
cheers for wasting my 2 hours
Warning
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
now i can start over again by finding myself a new $_SESSION tutorial. either remove this chain of videos or add its old....
cheers
RikkosArientos 2 years ago
cant they just go to login_success.php ?
KINGV3NOM 2 years ago
Parse error: syntax error, unexpected T_VARIABLE in /home/****l/public_html/checklogin.php on line 3
andeminium 2 years ago
can any one plzz help me i am new to this stuff and i would really like to learn i did every thing this guy said in his videos but my checklogin.php page doesnt work it is just blank it doesnt show any thing can any one plzz help me thanks.
hereshkurd 2 years ago
I get this errror:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\checklogin.php on line 9
cannot connect
Anyone that can help?
worqy 2 years ago
You wrote all he wrote in his connection.php or mysql.php?
plobez 2 years ago
I'm getting a blank checklogin page and it's not redirecting.
deadwing5 2 years ago 7
@deadwing5 Got the same problem... if you are using php 5.3.0 or higher, I don't think this tutorial works...
EliteCaptainGadget 1 year ago
@deadwing5 there was an error in his script.
You need to say <?php at the beginning, not <?
TheBakahIdiot 1 year ago
@deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.
mm22ttjj 9 months ago
@deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.
mm22ttjj 9 months ago
Still an error;
Parse error: syntax error, unexpected T_VARIABLE in /home/a8481401/public_html/checklogin.php on line 15
ShevaFC 2 years ago
First thing about these errors is to normally check for incorrect syntax in the proceeding line. An unexpected t_variable usually means you haven't closed brackets, or put in the closing curly brace etc.
namesnotimportant2u 2 years ago
PLZ help I have a problem
Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files\xampp\htdocs\tests\login.php:11) in D:\Program Files\xampp\htdocs\tests\login.php on line 28
trakaissk 2 years ago
Hi, i have done it all but i get this error
Parse error: syntax error, unexpected T_VARIABLE in /home/unitedad/public_html
/mainsite/login/checklogin.php on line 15
any ideas why ??? Please help!
tommo1590 3 years ago
This tutorial is great for beginners but their are a lot of flaws that doesn't protect against sql injection.
fawaz1992 3 years ago
im with you on that
no encryption or validation
to learn php too, people need to learn basic php first, then learn basic sql and then go from there.
tommosnake 3 years ago
Yep have to agree! Exactly what I was thinking.
namesnotimportant2u 2 years ago
The problem with learning php is that you have to know the right sources and have allot of time to learn from your mistakes.
hmmmz :/
I'll stay motivated to become a good phper... right now i am sucking at it totally..
it takes time, just time.
Mistahjey 3 years ago
You are the true man... it's the best tutorial because you explain step by step... you are the best... my web site that i'm making as soon as a finish i will let you know... thank's man
chaflay 3 years ago
error :/
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampplite\htdocs\login\checklogin.php on line 9
Access denied for user 'ODBC'@'localhost' (using password: NO)
M4ziz 3 years ago
i got the same have you figured it out yet please help if you can
OvertheBodies 3 years ago
nope, i still get that error
M4ziz 3 years ago
You havent set the username if it says ODBC@locahost.
namesnotimportant2u 2 years ago
In some cases that is a good idea, but for some people after they learn something one way they don't think about doing it another way. Also after learning something it is usually hard to unlearn and do it another way..
fawaz1992 2 years ago
how to make a file in the notepad
tipupuma 3 years ago
just wanted to say you are a very good speaker/teacher nice vids.
howlovebegins 3 years ago
Your PHP tutorials are very clear and enjoyable to watch. Thanks for putting them up!
webandsoftwarelearn 3 years ago
You guys are doing something wrong. Make sure ALL of your code is correct, and your database is correct. one small capitalization error can make a huge difference. Thank you rrphillips for a video tutorial of this!
geoldr 3 years ago
Same problem as semas11122
Anarkien 3 years ago
your mysql_query is wrong.
change the $result variable to:
$result = mysql_query($sql) or die(mysql_error());
That will tell you that your query dosen't work.
Petterss22 3 years ago
I have i Error :[
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource 12 line
My 12 line is:
$count = mysql_num_rows($result);
semas11122 3 years ago
your mysql_query is wrong.
change the $result variable to:
$result = mysql_query($sql) or die(mysql_error());
That will tell you that your query dosen't work.
Petterss22 3 years ago
@semas11122 did u get a response to the mysql_num_rows(); statement?
pabl0182 2 months ago
Nevermind, the sound is there. He just has a long pause, but does go back over everything. Nice job.
alasxdair 3 years ago
Great tutorial, would be helpful with the sound all the way through though.
alasxdair 3 years ago
Can't here sound at 4:33
hackerhack1 3 years ago