PHP & Error Pages

Plain old static html error pages are in-descriptive and frustrating, one of the main to reasons webmasters commonly choose to make a mistake and redirect all 404s to their home page. Instead of redirecting, use PHP to let the user know what page they were trying to access and a note saying it no longer [...]

PHP & Dynamic Content

Static content is a plain html file that doesn’t change for any user or request. The same content is displayed to everyone, regardless of anything else including variables, sessions and cookies. Dynamic content, on the other hand, is specifically displayed based on a web browser’s request. It can change the whole way information is displayed, [...]

PHP & Account Activation

When a user signs up at your website, you may want to verify their email address so you aren’t getting bogus accounts in your database. A few lines of code can send an email to the address specified, containing a welcome greeting and link to activate their account. PHP is the best way to both [...]

Serialize this – Saving Objects in PHP

When building my website “Crossword Heaven” I came across a problem. I created a PHP object called “crossword” but needed to save the information in the object to a database. Now considering that this object contained a lot of information this was not an easy thing to do. Or was it? The answer: serialize(). What [...]

PHP & Account Activation

When a user signs up at your website, you may want to verify their email address so you aren’t getting bogus accounts in your database. A few lines of code can send an email to the address specified, containing a welcome greeting and link to activate their account. PHP is the best way to both [...]

PHP & Error Pages

Plain old static html error pages are in-descriptive and frustrating, one of the main to reasons webmasters commonly choose to make a mistake and redirect all 404s to their home page. Instead of redirecting, use PHP to let the user know what page they were trying to access and a note saying it no longer [...]

PHP & Dynamic Content

Static content is a plain html file that doesn’t change for any user or request. The same content is displayed to everyone, regardless of anything else including variables, sessions and cookies. Dynamic content, on the other hand, is specifically displayed based on a web browser’s request. It can change the whole way information is displayed, [...]

You Should Look Up Your Google Page Rank!

Here are a few spots that show you your Google PageRank for free. I tested my site http://www.thefishfinder.com/members/saltwater/ledbetter/, which summarizes past field research among the Pacific salmon purse seiners, who, of course, are experts when it comes to catching salmon. A few free page-ranking sites were not in working order or returned spurious results. Six [...]

Serialize this – Saving Objects in PHP

When building my website “Crossword Heaven” I came across a problem. I created a PHP object called “crossword” but needed to save the information in the object to a database. Now considering that this object contained a lot of information this was not an easy thing to do. Or was it? The answer: serialize(). What [...]

 Page 2 of 2 « 1  2