$var = explode("/",$_SERVER['PHP_SELF']); //print_r($var); $count = count((array)$var); $pagename = $var[$count-1]; //index.php ?>
We have received your newsletter subscription request,
You will receive our next Newsletter with incredible offers & deals!