Jump to content

detecting "index.php" versus "index.php?var=xxx"


glennnall

Recommended Posts

i'm running code on what i only want to be the HOME page, but the current site it built using GET variables with index.php

 

needless to say, the home page is accessed either as domain.com/ or domain.com/index.php - i'm hoping someone can show me how to check for this condition, that it is only index.php without anything further

 

I'm only slightly familiar with $_SERVER['uri'], etc... So i don't know just what to ask.

 

thanks for anyone's help.

 

Glenn

 

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.