Hostgator Coupon September October 2009
Sep 30, 2009 It Stuff
Are you looking for an Hostgator Coupon code? If so, act right now as I don’t know how long this offer will be available. Enter ‘autumn’ without quotes in the Coupon Code field to get 20% off your hosting plan. As of today (september 2009, but should be okay for october as well) it works,…………….
Remove item from array remove null values
Sep 11, 2009 Basic PHP
Say we want to drop a value from an array, this is simple: just unset it!
unset($myarray[13]);
Sometimes however we may want to perform some more complex clean ups. Such as if we have just exploded an URL for url rewriting, and want to get rid of the null array items placed where the slashes were.
First approach…………….
Read Remove item from array remove null values »
Tags: php array, php array values, php optimization, php performance
Simple Flat File CMS in PHP – Part 3
Sep 7, 2009 Complete Scripts
In this third post, we’ll have to actually do something useful with our code. Simply add the following at the end of the previous script.
if($found)
{// set up variables with content
$title=$items[0];
$url=$items[1];
$post=$items[2];
$tags=$items[3];
$description=$items[4];
$author=$items[5];
$date=$items[6];
}
else
{ // if we get here there was a 404 error either for malformed url or because we couldn’t…………….
Read Simple Flat File CMS in PHP – Part 3 »
Tags: flat file blog, flatfile cms, php tutorial, seo urls, simple php cms
Flatfile PHP CMS tutorial – Part 2: the code
Sep 4, 2009 Complete Scripts
Time to define the structure for our flatfile CMS or Blog, and see the PHP code needed to parse it.
Read Flatfile PHP CMS tutorial – Part 2: the code »
Tags: flat file blog, flatfile cms, php tutorial, seo urls, simple php cms
Flat file PHP CMS or Blog, simple and customizable
Sep 3, 2009 Complete Scripts
Need a flatfile CMS or Blog, running low on resources, yet expandable and with support for custom themes and SEO urls? This tutorial series will show you how to quickly build it, with little effort.
Read Flat file PHP CMS or Blog, simple and customizable »
Tags: flat file blog, flatfile cms, seo urls, simple php cms

