Hi there!

First I would like to send a big THANKS to all the
people who tried to help me.

And after that, the solution.... It was a problem of
the server (Xitami), browsing around the PHP.net
server I found the following comment:

---CUT---

Using the CGI (c:\php[version]\php.exe) with Xitami
since PHP version 4.3.2 requires the following setting
in php.ini before the $_SERVER['PHP_SELF'] call will
return a value:

cgi.fix_pathinfo=1

Note that $_SERVER['SCRIPT_NAME'] still works.

---CUT---

With that change and after some hours of search my
pages started to work again...

Kisses for everybody,
Maria


--- Maria Garcia Suarez <[EMAIL PROTECTED]>
wrote:
> 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
> 


__________________________________
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

Reply via email to