Profile
Achievement
jonhenshaw's Recent PHP Snippets
- All /
« Prev 1 Next »
This script will return the URL for the current page you're on, including category and tag pages.
3
1080
posted 14 years ago by jonhenshaw
This is a simple but powerful tweak to the wp-config.php file that will make it easy to run multiple websites using one database and codebase. Simply change "yourdomain.com" with your domain and that's it. Repeat that line for new domains.
2
980
posted 15 years ago by jonhenshaw
Features: Complies to version 2.1 of the vCard specification
Supports the following attributes:
* Name
* Formatted Name
* Phone and fax numbers
* Birthday
* Address
* Address label
* email address
* notes...
6
1968
posted 15 years ago by jonhenshaw
Step 1: Copy and paste the e-mail Form Code into a 'contact.php' page (must be a html/php page on a server that allows php!).
Step 2: Copy n paste the sendeail.php code into a new file. Change the YourEmail section to include your email address. T...
3
1052
posted 16 years ago by jonhenshaw
This randomly displays 1 of the 5 arrays (amount of arrays to choose from can be reduced or increased)
3
772
posted 16 years ago by jonhenshaw