Re: Global variable
| From: | Руслан Охитин | Date: | Sat, 28 Apr 2001 05:12:44 +0000 |
| Subject: | Re: Global variable | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7108@lists.php.net to get a copy of this message | ||
Hello Olivier,
Try phpinfo() or print_r($HTTP_SERVER_VARS).
OB> Hi
OB> Im looking for an equivalent in PHP3 for $PATH_INFO avaible in PHP4?
OB> $DOCUMENT_ROOT exists on the server but not $PATH_INFO :(
OB> Is there a way to script and get all server variable like ASP does:
OB> For Each item In Request.ServerVariable
OB> Response.Write "ServerVar( " & item & " ) = " &
OB> Request.ServerVariable( item ) & "<br>"
OB> Next
OB> I think if this scipt exists, its usefull.
OB> Olivier.
--
Best regards,
Ruslan Ohitin
rus@bagan.ru