$_SELF[PHP_SELF] not working anymore
| From: | Maria Garcia Suarez | Date: | Tue, 16 Sep 2003 13:25:58 +0000 |
| Subject: | $_SELF[PHP_SELF] not working anymore | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162740@lists.php.net to get a copy of this message | ||
Hi there!
I'm currently developing some pages where I use
$_SELF[PHP_SELF], always without any kind of problem
(until some days ago).
Some days ago, as I said, I formated my hard disk,
installed everything again and from that day on
$_SELF[PHP_SELF] stopped working, same goes for
$_SERVER[REQUEST_URI] or $_GET[location] (which are
the solution I tried to find, without success). The
page says:
Notice: Undefined index
(for $_GET) or it just says nothing (the other ones
above, no error reported, it just displays nothing).
Inside PHP.ini I have globals set to On, but if I set
them to Off nothing changes...
Can anyone help me? At PHP.net I saw "If PHP is
running as a command-line processor, this variable is
not available", but I am running it from a web page on
Windows 2000 + Xitami.
Thanks a lot for your help and sorry if I asked
something stupid, but I couldn't find any solution....
Kisses,
Maria
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com