Generating csv data in PHP using input/output streams

by Eric on February 16, 2010

Every now and again a client requests csv formatted data. These can be used for various applications from spreadsheet reports to importing into quaint shipping software. In this post I show you how you can generate this easily from an array directly to the browser, bypassing writing to files on the server.

0 Comments more…

Fetching Images and Links from HTML Using PHP5

by Eric on February 2, 2010

A topic I see pop up time and time again in my various haunts is how do I fetch images or links from some markup using php5. In this post I will show you two simple methods using DOMDocument & XPath.

0 Comments more…

Adventures of parsing HTML in Python

by Eric on January 30, 2010

Tonight I was working on a project where I needed to parse some remote HTML of various quality using Python. Read on to see how my adventure went.

0 Comments more…

The verbosity of git push & pull.

by Eric on January 9, 2010

The verbosity of git push & pull.

The verbosity of git push & pull for the lazy.

0 Comments more…

Using Eclipse Code Templates in PDT for PHP

by Eric on February 6, 2010

Using Eclipse Code Templates in Eclipse PDT for PHP.

0 Comments more…
RSS Feed