variable writing
Posted: Fri Jul 06, 2007 5:57 am
Hi there
I have a site I recently installed on my webserver but there is a problem with getting it to run correctly, and I see what the problem is.
Basically, he's written all the $_GET/$_POST variables as ordinary variables. So in his script, instead of writing, $_GET['var'] he'll write $var and it must have worked somehow like that on the previous server.
Is there any simple way I can get the site working without having to change every single incidence of him writing $var when it needed to be $_GET['var'] to work ?
Thanks
PS I don't have permissions to alter the php.ini or related on the server so I'll need to find another route
I have a site I recently installed on my webserver but there is a problem with getting it to run correctly, and I see what the problem is.
Basically, he's written all the $_GET/$_POST variables as ordinary variables. So in his script, instead of writing, $_GET['var'] he'll write $var and it must have worked somehow like that on the previous server.
Is there any simple way I can get the site working without having to change every single incidence of him writing $var when it needed to be $_GET['var'] to work ?
Thanks
PS I don't have permissions to alter the php.ini or related on the server so I'll need to find another route