Monthly Archives: October 2009

Reading data from a uLog logger, saving to a file

Here’s a Processing sketch that takes data from Sparkfun’s uLog datalogger via a serial port, and saves the results to a file. To use this, you’ll need: uLog datalogger with some data on it USB-to-serial adaptor; there are many types … Continue reading

Posted in Processing, circuits | Tagged , , | 2 Comments

Simple Client URL example in PHP

Here’s a simple example of using the cURL program through PHP’s client URL library. It’s a really powerful way to use HTTP, because you can set just about every HTTP option using the library.

Posted in PHP | Leave a comment

Mail form in PHP

Here’s a simple HTML/PHP form that takes data from the form and sends it in mail via HTTP POST. Save it as formToMe.php:

Posted in PHP | Tagged , , | Leave a comment

Traceroute scraper in Processing

There are many web-based interfaces to traceroute available, including a nice list at traceroute.org.  Here’s a Processing sketch that retrieves the raw HTML from one of them and separates the traceroute lines into time taken, hop IP, and hop name. … Continue reading

Posted in Processing | Tagged , , , | Leave a comment