Re: PHP_SELF or REQUEST_URI within Function ?
| From: | Alexander Skwar | Date: | Fri, 31 Aug 2001 14:53:51 +0000 |
| Subject: | Re: PHP_SELF or REQUEST_URI within Function ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65484@lists.php.net to get a copy of this message | ||
So sprach »Arcadius A.« am 2001-08-31 um 05:27:04 -0700 :
> $u = $SCRIPT_FILENAME;
Because you did not define $SCRIPT_FILENAME anywhere. If you want to
access the global variable, you've got to say so:
global $SCRIPT_FILENAME;
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 2 days 1 hour 46 minutes