luv2sd Posted April 5, 2008 Share Posted April 5, 2008 I'm sure some of you are familiar with hlstatsx (www.hlstatsx.com) I think I'm having a php configuration/setup problem. I finally got php to work on IIS6 http://208.53.136.186/web/hlstats.php but the problem is that when I click Admin, it just stays on the same page instead of displaying content of http://208.53.136.186/web/hlstats.php?mode=admin And I know there's absolutely nothing wrong with the php files because I copied them from my other website that's running perfectly fine So what could be preventing php to display content of that page? Link to comment https://forums.phpfreaks.com/topic/99663-phpmode-doesnt-work-php5-and-iis6/ Share on other sites More sharing options...
Barand Posted April 5, 2008 Share Posted April 5, 2008 Do you have register_globals ON on the old site and OFF on the new site? I can only guess, but there may be if ($mode == 'admin') { // redirect to admin page } instead of if ($_GET['mode'] == 'admin') { // redirect to admin page } Link to comment https://forums.phpfreaks.com/topic/99663-phpmode-doesnt-work-php5-and-iis6/#findComment-509849 Share on other sites More sharing options...
luv2sd Posted April 5, 2008 Author Share Posted April 5, 2008 Thank you for your help I just turned on register_global but it still wouldn't work Here's the phpinfo page http://208.53.136.186/phpinfo.php Link to comment https://forums.phpfreaks.com/topic/99663-phpmode-doesnt-work-php5-and-iis6/#findComment-510101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.