Purveyor of fine web stuffs, since 1874
- Home - Web development, gaming, gadgetry, and all things technology
- PHP to display something in sNews ONLY when viewing an article on it's page - PHP to show something ONLY when viewing an article on it's page in Snews 1.7.
- Setting your default timezone with PHP's date_default_timezone_set() - Set your default timezone with PHP, without having access to the php.ini file.
- Calculating the median & average values of an array with PHP - Calculate the average and median values of an array of numbers with PHP.
- Adding a fixed "back to top" link on every page of your website - How to add a permanent back to top image link to every page of your website.
- Another variation on the "time ago" PHP function, use MySQL's datetime field type - A PHP time ago function for formatting the date on post comments or other timestamps.
- Use PHP cURL to get your Google Feedburner subscriber count text, with result caching - Use PHP code to obtain your FeedBurner subscriber count for styling and placement in your web page, with a simple caching function to reduce the overhead.
- Enabling more robust hyphenated word indexing in Sphider - Sphider's default treatment of hyphenated words often yields poor search result accuracy when search terms are used without the hyphens, this simple modification should help correct this.
- Creating better search suggestions with Sphider - A simple hack to improve the search suggestion function in the Sphider search engine.
Privacy Policy | About | Contact
Copyleft 2002 - 2013 Matt Jones
Hand crafted with HTML5 & CSS3
↑ Back to top