Saturday, May 9, 2009

All 3 Letter Combinations - PHP Script

View Output



<?PHP

$arr = Array();

array_push($arr, "a");
array_push($arr, "b");
array_push($arr, "c");
array_push($arr, "d");
array_push($arr, "e");
array_push($arr, "f");
array_push($arr, "g");
array_push($arr, "h");
array_push($arr, "i");
array_push($arr, "j");
array_push($arr, "k");
array_push($arr, "l");
array_push($arr, "m");
array_push($arr, "n");
array_push($arr, "o");
array_push($arr, "p");
array_push($arr, "q");
array_push($arr, "r");
array_push($arr, "s");
array_push($arr, "t");
array_push($arr, "u");
array_push($arr, "v");
array_push($arr, "w");
array_push($arr, "x");
array_push($arr, "y");
array_push($arr, "z");

$results = Array();
foreach ( $arr as $three ) {
foreach ( $arr as $two ) {
foreach ( $arr as $one ) {
array_push($results, $three.$two.$one);
}
}
}

foreach( $results as $result ) {
echo " $result";
}

?>

Shopzilla Errors

Shopzilla has a lot of errors on their ads. This is probably because they're servers can't handle all the traffic.

Here is a sample of the errors:

HTTP Status 404 - /pp/content/tal/publisherID-6287/assetID-344/assetTypeID-9/placementID-1/showProducts-3/showRandom-0/start-1/sort-default/onlyOffers-1/categoryID-11580100/tokenID-7X/keyword-wireless/style-10px Verdana, Arial, Sans-serif

type Status report

message /pp/content/tal/publisherID-6287/assetID-344/assetTypeID-9/placementID-1/showProducts-3/showRandom-0/start-1/sort-default/onlyOffers-1/categoryID-11580100/tokenID-7X/keyword-wireless/style-10px Verdana, Arial, Sans-serif

description The requested resource (/pp/content/tal/publisherID-6287/assetID-344/assetTypeID-9/placementID-1/showProducts-3/showRandom-0/start-1/sort-default/onlyOffers-1/categoryID-11580100/tokenID-7X/keyword-wireless/style-10px Verdana, Arial, Sans-serif) is not available.

Apache Tomcat/5.5


Zend Framework Quickstart Application - Guestbook

Following along the Zend Framework Quickstart Application - Guestbook, it is set up on my server:

Guestbook.

This was set-up on Mac OS X. The one problem encountered was that the mod_rewrite is not set-up by default on Mac OS X. This must be enabled.

PHP Frameworks

Here is a list of the 10 Most Popular PHP Frameworks.

I'm taking a look around for the framework to move forward with. I've narrowed it down to CakePHP or Zend Framework. Although, Symfony is also being considered.

Here are some good comments about which of the PHP Frameworks are best.

Sunday, May 3, 2009

Delicious

Find my site on Delicious.

Shopzilla

Shopzilla is a really good online shopping affiliate program. This will have a big impact on Amazon's affiliate program. Here is a sample Ad: