$_GET[], $_POST problems
Posted: Wed Jun 12, 2002 6:00 am
i been writing huge scripts on my local machine which runs a Apache server, with MYSQL installed as a service, and PHP modules too.
The problem is, my scripts work perfectly offline, when uploaded to my server which also uses Apache, variables passed in the URL, are not retreived using $_GET['name'] method
for instance:
a url such as
http://www.aljam.co.uk?Action=Login
would be processed in my script as:
Action = $_GET[Login];
but Action is never assigned a value when testing online??
i've also tried using $_POST but to no avail, this is frustrating because the problem occurs only online!
is there any server configuration required? maybe something to do with register globals?
M
The problem is, my scripts work perfectly offline, when uploaded to my server which also uses Apache, variables passed in the URL, are not retreived using $_GET['name'] method
for instance:
a url such as
http://www.aljam.co.uk?Action=Login
would be processed in my script as:
Action = $_GET[Login];
but Action is never assigned a value when testing online??
i've also tried using $_POST but to no avail, this is frustrating because the problem occurs only online!
is there any server configuration required? maybe something to do with register globals?
M