Re: Re: Authentication fails - problem line found

From: Date: Fri, 04 Mar 2005 19:33:07 +0000
Subject: Re: Re: Authentication fails - problem line found
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-210024@lists.php.net to get a copy of this message
On 3/4/2005 2:23 PM Dan wrote:
phpninja wrote:
I think all php functions are case sensitive and must be all lowercase. try changing "IsSet" to "isset" and give it a run. I im not 100% sure because i always type every function in php lowercase and keep it the same throughout the application so i dont ever have to worry about that. Just a thought.
How about using single quotes around all the action phrases: if (IsSet($_POST['action'])) {
//    $action = $_POST['action'];
} else {
     $action = $_GET['action'];
} I'm slowly learning, myself, on the proper placement of quotes. Thanks -dant
I tried that. I also doubt that isset would work any better because that condition is being processed correctly. This script is not something that I wrote, it is something I downloaded. I assume that it works correctly for the author on the author's system.

« previous php.general (#210024) next »