PHP_SELF on a php CGI
| From: | info at t-host dot com | Date: | Tue, 10 Dec 2002 14:13:17 +0000 |
| Subject: | PHP_SELF on a php CGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127643@lists.php.net to get a copy of this message | ||
Hello Leif, hello all,
i compiled successfully php-4.3-dev deom tarball as CGI on RedHat7.3
register_globals is on
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? How can I use the superglobal array?
Oliver Etzel
.eu-Domains are coming
www.t-host.com