[PHP] Re: include nubie question - need help

2001-07-11 Thread Ivo Stoykov
Thanks Rehuel: Yes I guess that is the name has not been typed the $user_name will be empty and the line is if($HTTP_POST_VARS[user_name]) { do something... } but I received this error Warning: Undefined index: user_name in H:\tenjo\public_html\sales\login.php on line 98 for the if line!

[PHP] Re: include nubie question - need help

2001-07-10 Thread Rehuel Lobato de Mesquita
Hey Ivo When PHP find an empty string, it returns this message In this case no one has logged in, so, it doesnot find user_name Include: Make sure the path of the file within the () is correct. So if the file is in the same directory, this might be good, but if it's in a different folder, you