is there any way i can capture the querystring and create a variable with the whole sting in it?
the thing is, the querystring can be random - considering my sessions on my site, i wont use only the currency, ill also use ?session=
and the basename wont work because the basename for all my pages, my index page, my product listing and product info are all index.php, just different querystrings attached to my index.php (but with rewrite you could never tell)
ive done some testing and cant figure out why the value wouldnt work though....
if i do this:
$get_variable = 0;
if ( isset( $_GET['currency'] ) ) {
$get_variable = 1;
}
which does work.. if i echo it will either say 0/1 correctly....
why wont this line work that I am trying?
if($_SERVER[REQUEST_URI]=="/random_page.php" && ($get_variable==1)){