Try with $_SERVER["PHP_SELF"]

-----Mensaje original-----
De: Maria Garcia Suarez [mailto:[EMAIL PROTECTED]
Enviado el: martes, 16 de septiembre de 2003 15:26
Para: [EMAIL PROTECTED]
Asunto: [PHP] $_SELF[PHP_SELF] not working anymore
Importancia: Baja


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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to