For the $status variable, sessions might help in passing the data along
pages.
-Original Message-
From: Cam [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Global Variable Issues
Through past releases of PHP, I've deve
Through past releases of PHP, I've developed with global variables on.
These days it's becoming the trend, for security & asthetics purposes, to
turn global variables off... Let's say I have a $status variable that
changes depending upon the user's actions on the previous page and displays
a m
Hello Olivier,
There is no print_r in PHP3. It's my error.
Try this
reset($HTTP_SERVER_VARS);
echo "Server variables:";
while(list($name, $val) = each($HTTP_SERVER_VARS)) {
echo "$name = $val";
}
--
Best regards,
Ruslanmailto:[EMAIL PROTECTED
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
Hi
Im looking for an equivalent in PHP3 for $PATH_INFO avaible in PHP4?
$DOCUMENT_ROOT exists on the server but not $PATH_INFO :(
Is there a way to script and get all server variable like ASP does:
For Each item In Request.ServerVariable
Response.Write "ServerVar( " & item & " ) = " & Requ