I can't see the value of $PHP_SELF. It has no value.HELP!
Posted: Sat May 24, 2003 11:16 am
I installed an ApacheSever and the latest PHP version.
Simple tests seemed ok but now i am trying to use the variable $PHP_SELF and it seems it doesn't exists. BUT, if i write
i correctly see the path of the file.
if i write
i just see "we are in" and then "Undefined variable: PHP_SELF"
i worked with php elsewhere and this always worked. Where is the problem ?
thank you so much
Wentu
Simple tests seemed ok but now i am trying to use the variable $PHP_SELF and it seems it doesn't exists. BUT, if i write
Code: Select all
echo "we are in:",$_SERVERї"PHP_SELF"],"<br>" ;if i write
Code: Select all
echo "we are in:",$PHP_SELF,"<br>" ;i worked with php elsewhere and this always worked. Where is the problem ?
thank you so much
Wentu