Notice: Undefined variable: PHP_SELF in /opt/lampp/htdocs/xa

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Notice: Undefined variable: PHP_SELF in /opt/lampp/htdocs/xa

Postby arham » 28. January 2008 18:33

Hi, I'm From Mexico City, I was working with lampp, everything was ok, but I tried to change
some code in the /opt/lampp/etc/php.ini, Why? Because I wanted better my security, I changed register_globals=On for register_Globals=Off and
changed error_reporting =E_ALL $ E_NOTICE for error_reporting = E_ALL,

What Can I do?

I have the next error:
Notice: Undefined variable: PHP_SELF in /opt/lampp/htdocs/xampp/lang/es.php on line 159 when a Tried to write http://localhost/xampp/


help me please

Thanks a lot
arham
 
Posts: 1
Joined: 28. January 2008 18:12

Postby Scory » 28. January 2008 22:49

If you run with register_globals = On, there is no global variable PHP_SELF. This variable (and many other server variables) is part of the $_SERVER superglobal array ($_SERVER['PHP_SELF']).
Scory
 


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 62 guests