External variables not working after migration to Linux
Posted: Wed Sep 08, 2004 9:04 am
Hi,
One of my client's migrated the site we built for them to a Linux box (they are hosting their own site in-house). After the move (they would have set up LAMP) our GET variables are not being seen. I've ssh'd onto the server and looked at their php.ini file. Register_globals is set to 'off'. I've created two pages to test the theory. They won't run on the client's server but will run on my 'nix box
Here are the two simple pages:
Any insight appreciated,
cheers,
Mike
One of my client's migrated the site we built for them to a Linux box (they are hosting their own site in-house). After the move (they would have set up LAMP) our GET variables are not being seen. I've ssh'd onto the server and looked at their php.ini file. Register_globals is set to 'off'. I've created two pages to test the theory. They won't run on the client's server but will run on my 'nix box
Here are the two simple pages:
Code: Select all
<html>
<head>
<title>What's wrong with the Get variables?</title>
<body>
click <a href="test_out.php?message=<? echo "Hello"; ?>">here</a> to send message!
</body>
</html>Code: Select all
<html><head><title>did it work?</title></head>
<body>
the message today is, <?print $_GETї'message'];?>
</body>
</html>cheers,
Mike