On Tue, Aug 13, 2002 at 03:54:58PM +0200, Piotr Klaban wrote:
> and if I call http://server/dir/file.php?q=1, the result is:
>
>Apache module PHP CGI
> PHP_SELF /dir/file.php/path-info/dir/file.php
I am sorry it is a mistake, it should be:
and if I call http://se
Hi,
I have found PHP_SELF variable very confusing.
Maybe you can prove me wrong.
I thought that this variable can be used as a self reference
URL address for the currently running script, e.g.:
uri,
track_vars_array TSRMLS_CC);
in sapi/cgi/cgi_main.c PHP_SELF is equal to PHP_INFO
env. varia