I know that this is completely wrong, I did not write the application, I just need to get it to work while I'm working on a new one. It seems that GoDaddy has made some updates to our account, so now there are some things that do not work. I have already enabled register globals, and many things have returned to normal. Now this does not work ...
There is a hidden field <input type="hidden" name="SUBMIT1" value="1" />
There is a check for this field.
if($SUBMIT1) {
I know that I can easily fix this by doing it instead ...
if($_POST['SUBMIT1']) {
The problem is that this is a huge application, and for this you need to take the time to do it everywhere. Is there a way or setting that I can enable so that when sending the form $_POST['WHATEVER']
also works like $WHATEVER
?
source share