In the phpinfo() page the variable that brings the file name( which I am most interested in) is the following variable:
_SERVER["PHP_SELF"]
But when I try to use the variable in my code, it gives me the follwoing error:
Parse Error: parse error, unexpected '[' in c:\inetpub\wwwroot\auroraclientinfo.php on line 16
The code that I entered was as follows:
$thefile = "1";
$thefile = _SERVER["PHP_SELF"];
Is there something worng with what I am doing from what you can see?
Thanks in advance for your help.
Josu