Jump to content

php?mode doesn't work (php5 and IIS6)


luv2sd

Recommended Posts

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

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
}

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.