[thelist] Basic PHP question about: 'Notice: Undefined variable'

der wert derwert at hotmail.com
Thu Aug 10 14:00:19 CDT 2006


the one that programmed this script made an error, it should be

$FF_LoginAction = $_SERVER['PHP_SELF'];


the variable $_SERVER['PHP_SELF'] is used to refer to the location of the 
script

an example of this would be, if the script was located here 
http://example.com/php_self/index.php

then the returned value would be /php_self/index.php

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the thelist mailing list