Re: PHP_SELF Variable
| From: | info at t-host dot com | Date: | Tue, 10 Dec 2002 13:22:47 +0000 |
| Subject: | Re: PHP_SELF Variable | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127635@lists.php.net to get a copy of this message | ||
Hello Leif, hello all,
register_globals is on
How can I use the superglobal array?
And here is how my php behave:
when I run the following script: info70.php
<?php
print_r($GLOBALS);
?>
1) from commandline
then [SCRIPT_NAME] => info70.php
is set correctly
2) direkt via http request from browser
then PHP_SELF = htdocs3/bildvote/admin/info70.php
zend and php-logo isn´t depicted.
3) via http script is in the htdocs (/usr/local/apache/htdocs) directory
PHP_SELF =
What can I do?
Oliver Etzel