Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
stephcode's Recent SnippetsTagged php
- All /
« Prev 1 Next »
PHP
Handy PHP thing I can\'t come up with a title for; display different data depending on where user comes from, sort of
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').
0
1187
posted 13 years ago by stephcode