Im a bit of a newbie to php, ive already got something working except i would like to be able to say if page = mypage.php (followed by anything) then print this
eg:
mypage.php?
mypage.php?&this_could_be_anything
what I am using now is:
<?php $myIndexPage = "index.php";
$myDomainName = "mydomain.com";
$_SERVER[HTTP_HOST] = strtolower($_SERVER[HTTP_HOST]);
if($_SERVER[REQUEST_URI]=="/".$myIndexPage or $_SERVER[REQUEST_URI]=="/".$myIndexPage."/" or $_SERVER[REQUEST_URI]=="/" or $_SERVER[REQUEST_URI]=="/?currency=EUR" or $_SERVER[REQUEST_URI]=="/?currency=GBP" or $_SERVER[REQUEST_URI]=="/?currency=USD"){
?>
you can see ive had to add the currency querystrings to the address... id like to be able to tell it if it begins with index.php as well as index.php with a querystring following it to print something different...
thanks