Archive for April, 2007
Thursday, April 26th, 2007
Amazon’s S3 service seems to be getting into everything ‘online’ these days. Here’s an announcement by Mark Atwood of a S3 storage engine for MySQL 5.
It allows one to view and manipulate Amazon’s S3 storage service as
tables and items by MySQL. You can keep your blobs or large varchars
or truely huge datasets in S3, and then join the tables against your
local ones.
Announcement: MySQL Lists: internals: Storage engine for Amazon S3
Mark’s project page: http://fallenpegasus.com/code/
Posted in Databases | No Comments »
Monday, April 23rd, 2007
Finally an open source PHP compiler ! Roadsend was perviously available as a commerical compiler for PHP with prices starting from $129. They seem to have shifted to the OSS model recently, giving free professional licence to their older compiler while they’re working on releasing the precompiled versions of their open source code base.
They currently have the PHP compiler binaries for the following Linux varients - Ubuntu, Debain and Gentoo.
[added] The compiler works only with PHP 4 code as of now.
Roadsend PHP Compiler is an open source, native compiler for the PHP language. It compiles PHP source code to stand alone, native binaries which do not require an interpreter. Roadsend Compiler can build online web applications with Fast/CGI, offline web applications with an embedded web server (MicroServer), desktop GUI applications with PHP-GTK, and console applications. It is available on Linux, Windows, and FreeBSD.
Link: Roadsend
Link: Roadsend PHP Compiler Community Site

Like the evergreen issues of cricket wireless is creating a lot of hype as well. What with numerous wi fi spots in the city, wireless internet cafe business is on a rise now, with at&t wifi leading . This at&t wireless is working much better than cingular wireless.
Posted in PHP | 3 Comments »
Wednesday, April 18th, 2007
Pierre shows you how to get a screen-shot of a site using PHP and GD2 on Windows. The examples he’s presented shows you how to get a screen shot of IE, and goes on to show how to get a site loaded into IE and capture the screen only after the page loads completely on the browser.
This method can be used to capture any kind of window.
Link: Screen capture with PHP and GD - The Pimp
Posted in PHP, Techniques | 5 Comments »
Friday, April 13th, 2007
Looking forĀ a guide on how to enable and use PHP extensions on Windows? Richard Davey has a quick guideĀ over at Core PHP:
Have you ever run into this problem when using PHP on Windows: You have uncommented an extension in your php.ini, you’ve checked that the DLL file exists, and is actually present, ready and waiting in your extensions folder, but when you start Apache you get a ‘could not load module’ error, claiming that the DLL you KNOW exists, isn’t there.
Link: A Guide to using PHP 5 Extensions on Windows - Core PHP
Posted in PHP | No Comments »
Monday, April 9th, 2007
Last month there were at least two enquiries at the Bangalore PHP UG on how to get PHP to communicate with the server’s serial port. I didn’t think it was possbile, but here’s what a quick google search turned up:
PHP Serial Extension:
This PHP extension for Windows allows you to communicate directly with the serial port through PHP.
This is a loadable extension for PHP running on Windows implementing serial port handling and communications. Once installed in PHP environment you can programm PHP applications to control serial device hosted on server from remote location; these devices can be anything from video switcher, cameras pan/tilt, ham radios, media players, home automation boxes, GSM modems/terminals (send/receive SMS), only your imagination and needs are the limits.
Link: http://www.easyvitools.com/phpserial/index.html
Link to installation instructions and usage: http://www.easyvitools.com/phpserial/php_ser_reference.html
PHP Serial Class
If you’re a solution in Linux, here’s the PHP class you’re looking for. PHPClasses.org has a PHP Serial Class which allows you interact with your serial ports in Linux
This class can be used to communicate and configure peripherals connected to a serial port under Linux, simplifying the development of applications that need access serial devices. It takes the path of serial device and checks whether it is valid before opening a connection to it. Once the connection is opened, it can send data to the serial port. The class may also change connection parameters for the given serial device.
Link: http://www.phpclasses.org/browse/package/3679.html
If you’ve used any of these solutions for your applications, do let me know your feedback.

Attaining qualifications like 642-425 and 642-432 make one go for 642-444 and 642-511 as well.
Posted in PHP | 19 Comments »