Page: 1, 2
High-traffic sites can often benefit from caching of pages, to save processing of the same data over and over again. This caching tutorial runs through the basics of file caching in PHP.
Ternary conditionals can save a lot of time and space in PHP, but can be daunting. This article is a simple guide to what they are and how they work.
Pages viewed in Google's cache have the keywords used to find them highlighted automatically. This technique allows you to achieve the same effect for all users visiting your site from Google, MSN, AllTheWeb, Yahoo and LookSmart, without needing to edit your site.
VBScript's DateDiff function is a powerful way to express differences between dates, and PHP lacks a similar function. Here's a replica of VBScript's DateDiff function in PHP.
Much is made of techniques like Fahrner Image Replacement as ways to improve accessibility and indexing by the search engine spiders, while allowing standards compliance and graphical sites, but they do have flaws. Here's another option, in PHP.
Page: 1, 2
Caching output in PHP
Posted in PHP, June 9, 2004 | 74 comments
High-traffic sites can often benefit from caching of pages, to save processing of the same data over and over again. This caching tutorial runs through the basics of file caching in PHP.
Ternary Conditionals
Posted in PHP, June 2, 2004 | 15 comments
Ternary conditionals can save a lot of time and space in PHP, but can be daunting. This article is a simple guide to what they are and how they work.
Email Address Validation
Posted in PHP, June 1, 2004 | 164 comments
Google-style keyword highlighting using htaccess and PHP
Posted in PHP, May 27, 2004 | 21 comments
Pages viewed in Google's cache have the keywords used to find them highlighted automatically. This technique allows you to achieve the same effect for all users visiting your site from Google, MSN, AllTheWeb, Yahoo and LookSmart, without needing to edit your site.
PHP, Gzip and htaccess
Posted in PHP, May 27, 2004 | 32 comments
PHP 101 - An Introduction to PHP
Posted in PHP, May 13, 2004 | 9 comments
PHP DateDiff Function
Posted in PHP, April 20, 2004 | 51 comments
VBScript's DateDiff function is a powerful way to express differences between dates, and PHP lacks a similar function. Here's a replica of VBScript's DateDiff function in PHP.
PHP Image Replacement
Much is made of techniques like Fahrner Image Replacement as ways to improve accessibility and indexing by the search engine spiders, while allowing standards compliance and graphical sites, but they do have flaws. Here's another option, in PHP.
Better Sessions
Posted in PHP, September 7, 2003 | 14 comments
Session hijacking is a problem on the web, not least because it can often happen by complete accident when a user cuts and pastes a URL. While it can be prevented by allowing session IDs to be held only in cookies, simply connecting session IDs with the IP address of the user can make session hijacking much harder and much less likely to happen by accident.
Page: 1, 2




ILoveJackDaniels.com is the online playground of