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? Quote 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... Quote Link to comment https://forums.phpfreaks.com/topic/51182-hide-egion-problem/#findComment-251982 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.