ok, i'm trying to install a script i coded on hostgator... Script works great on other hosts, but for some reason on hostgator i find its not reading any $_GET's, so i'm like wtf, n then just by chance, i try $_REQUEST n it works, so I quickly run mreplace on script replacing all $_GET for $_REQUEST and upload script again...
It works perfectly mn I'm like yay!!! then turn my head back to screen only to see its not reading $_REQUEST now... so i check $_GET n it's reading, i'm thinking wtf as i mreplace script to revert to original $_GET, n upload... halfway through uploading it switches back n starts only reading variables via $_REQUEST again...
To cut a long boring repetetive story short, I been at this for hours back n forth ftp n re ftp, n chatting to online support, etc but they can't find problem in logs nor do they seem to understand what $_GET is, lol... So I decided to to try asking here, n the reason I posted in coding is cause I'm currently trying to figure out how to code a switch that will check n swap $_GET n $_REQUEST so the site works for longer than 30 seconds... But everything I try has failed... So far I'm back to:
if (isset($_REQUEST['action']))
{
$action = $_REQUEST['action'];
}
else
{
$action = $_GET['action'];
}
but even this just throws blanks... WTF is going on?
It works perfectly mn I'm like yay!!! then turn my head back to screen only to see its not reading $_REQUEST now... so i check $_GET n it's reading, i'm thinking wtf as i mreplace script to revert to original $_GET, n upload... halfway through uploading it switches back n starts only reading variables via $_REQUEST again...
To cut a long boring repetetive story short, I been at this for hours back n forth ftp n re ftp, n chatting to online support, etc but they can't find problem in logs nor do they seem to understand what $_GET is, lol... So I decided to to try asking here, n the reason I posted in coding is cause I'm currently trying to figure out how to code a switch that will check n swap $_GET n $_REQUEST so the site works for longer than 30 seconds... But everything I try has failed... So far I'm back to:
if (isset($_REQUEST['action']))
{
$action = $_REQUEST['action'];
}
else
{
$action = $_GET['action'];
}
but even this just throws blanks... WTF is going on?
Comment