Profile
Achievement
stephcode's Recent PHP Snippets
- All /
« Prev 1 Next »
AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)
0
630
posted 13 years ago by stephcode
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
1051
posted 13 years ago by stephcode
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1
671
posted 13 years ago by stephcode