i am new to this forum and this is my post...
please help me to solve my problem
my website is in php
am using the below shown code for getting index.php of www.test.com/index.php
CODE
session_start();
$pagename=pathinfo($_SERVER["PHP_SELF"]);
$pagename=$pagename["basename"];
$_SESSION['page']=$pagename;
$pagename=pathinfo($_SERVER["PHP_SELF"]);
$pagename=$pagename["basename"];
$_SESSION['page']=$pagename;
$_SESSION['page'] has the value index.php
ie if i am in www.test.com/abc.php $_SESSION['page'] has the value abc.php
it is working fine..
but my problem is that.. if the url is www.test.com/index.php?catid=60
the rest part after index.php ie '?catid=60' is not retrieved..
how can i do that???
please help..
i will be very grateful..
thank you