fazzfarrell Posted May 13, 2007 Share Posted May 13, 2007 HI I have just tested this: <code> <?php if($_SERVER['PHP_SELF'] == "careers.php") { echo "<a href=\"careers.php\">Back[/url]"; } ?> <code> If the url comes from the careers.php I ant the back button to appear if it comes from elsewhere it should not, at the moment it does not appear at all? I think it may be due that it come from http://82.110.105.85/spgrouptemp.co.uk/careers-red.php?Area=Birmingham or another area such as =Redditch? Link to comment https://forums.phpfreaks.com/topic/51182-hide-egion-problem/ Share on other sites More sharing options...
chigley Posted May 13, 2007 Share Posted May 13, 2007 Put a / before careers.php : <?php if($_SERVER['PHP_SELF'] == "/careers.php") { echo "<a href=\"careers.php\">Back</a>"; } ?> I don't think there was a need for another thread though... Link to comment https://forums.phpfreaks.com/topic/51182-hide-egion-problem/#findComment-251982 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.