Handy PHP thing I can\'t come up with a title for; display different data depending on where user comes from, sort of

/ Published in: PHP
Save to your folder(s)

If user enters city.php from footer.php, page will return certain string. If user enters independently, solution lets user see predefined string (in this case, 'your city').

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.