Category

Archive for the 'PHP' Category

The ultimate AS2 BitmapData saving solution

( News and Remoting and Actionscript and PHP )

First of all, sorry for the over-the-top title, it’s a nod to Grant Skinner, whose BitmapData saving post inspired me to get back to the drawing board to find a better solution than what I had previously. The previous solution was very fast in an intranet setting, and very low on resources on the php […]

Saving bitmaps in Flash: a fast solution

( Remoting and Actionscript and PHP )

Mario Klingemann and Alessandro Crugnola have already posted their solutions to the problem of saving the contents of a BitmapData instance using PHP, and I figured I would share my own solution which solves it in an original way. For this current project I’m working on, the bitmap data is to be sent across an […]

Testing Fluorine through amfphp

( Remoting and PHP )

With amfphp 1.2, it’s possible to test your Remoting services directly through your web browser using the service browser. Fluorine, openAMF and other Remoting users rejoice, however, as it is in fact possible to use the same service browser to test any Remoting gateway. Here’s how you can do it:

Create an amfphp service with a […]

Toggling php versions in Apache

( PHP )

I’ve been testing amfphp with PHP4 and PHP5 lately (PHP5 supports try..catch so the error handling is different), and got tired of switching between both manually, so I whipped up a little python script to toggle php versions:

import shutil;

f = file(”C:\Program Files\Apache Group\Apache\conf\httpd.conf”) content = f.read() php4 = False if content.find(”#LoadModule php4″) != -1:         php4 […]

Image gallery by Sephiroth

( Remoting and Actionscript and PHP )

This may be old news, but if you haven’t seen it yet, Allessandro’s image gallery is a gorgeous application featuring all kinds of neat effects: a resizable interface, photo transitions, panaroma view with motion blur, etc. The source is available here as well. Powered by amfphp.