Archive for November, 2005

Amazon E-Commerce Services

Monday, November 21st, 2005

Wonderful is the word.

For those who don’t know what AWS is, it’s the Amazon API for accessing their info. There are hundreds and hundreds of sites out there using this API to power their affiliates stores. Amazon pays the affiliates 10% of all sales generated if the site manages to make a sale for Amazon.

The way it works is that you, the affiliate, place a request through a SOAP client for data pertaining to a particular Item/Group of items. Amazon processes this request and returns the data to you in an XML file. To pass this request to Amazon and get the data I used a class by Calin Uioreanu over at php9 (Thank you!) (more…)

PHP and PDF

Monday, November 21st, 2005

I recently recieved a project from ScriptLance to generate PDF reports from MySQL data using PHP. I hadn’t really experimented with report generation in PHP so I had little idea what I was getting into. So I surfed over to PHP.net and started reading.

A few minutes later I tried out a couple of examples posted on there as well as other PHP-related sites. None worked. So I googled a bit and landed on FPDF.org. I haven’t looked back since and I’ve finished the project. Infact, I’ve recieved one more project to do the same. (more…)