Okay, what is wrong with this:
echo "<br><br>...are you logged in: $LoggedIn()<br><br>";
// outputs: ...are you logged in: ()
Function is:
function LoggedIn(){
global $HTTP_POST_VARS
if ($HTTP_POST_VARS["Login"] == "PHPIsCool")
{return "YES";}
else
{return "NO";}
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] Function / String Problem Karl J. Stubsjoen
- Re: [PHP] Function / String Problem Shawn Blaylock
- Re: [PHP] Function / String Problem Marcelo Gulin
- RE: [PHP] Function / String Problem Chris Mulcahy
- RE: [PHP] Function / String Problem Boget, Chris
- [PHP] Mail Syntax changing problem Todd H MacPherson

