NYCPHP Meetup

NYPHP.org

[nycphp-talk] IIS: $_SERVER & referer

Emmanuel. M. Decarie emm at scriptdigital.com
Mon May 12 17:12:07 EDT 2003


Hello Daniel,

>  > for example $_SERVER['PHP_SELF ']. No big deal since I can get the
>
>Is that a cut-and-paste from your code? There is an extra white space after
>the F!
>  $_SERVER['PHP_SELF '] should be  $_SERVER['PHP_SELF']

Thanks for the sharp eyes, but in my code it was definitely 
$_SERVER['PHP_SELF'] with no space. I just did another test and still 
get this:

>Notice :  Undefined index:  PHP_SELF in...

I think I pasted $_SERVER['PHP_SELF '] from php.net, and somehow, 
Safari added a white space.

Cheers
-Emmanuel
-- 
______________________________________________________________________
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
Radio UserLand/Frontier - Perl - PHP - Javascript  <http://scriptdigital.com/>
Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital




More information about the talk mailing list