Re: [PHP] Function Misbehaving

2006-11-23 Thread Jochem Maas
Beginners beware ... small, potential head-fryer coming up... Richard Lynch wrote: > I personally would use is_null($url) to test if it was NULL. > > isset() is not the weapon of choice for that, imho... > > No idea if that will "fix it" as I've never tried to use isset() to > test for NULL and

Re: [PHP] Function Misbehaving

2006-11-15 Thread Tom Chubb
7; Subject: [PHP] Function Misbehaving The following function is a basic user auth prep procedure for multiple pages. If the url desired is different than the default a url is supplied. This function works most of the time flawlessly; except, on some pages when the url has a value that was passed, th

RE: [PHP] Function Misbehaving

2006-11-15 Thread Programmer
happing inside the php code? Thanks, Jeremy Schreckhise M.B.A. -Original Message- From: Programmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 10:53 AM To: php-general@lists.php.net; 'Brandon Stewart' Subject: [PHP] Function Misbehaving The following function

[PHP] Function Misbehaving

2006-11-15 Thread Programmer
The following function is a basic user auth prep procedure for multiple pages. If the url desired is different than the default a url is supplied. This function works most of the time flawlessly; except, on some pages when the url has a value that was passed, the function still thinks url is NULL