NuSOAP and PHP5

When installing the NuSOAP class on a system with PHP5, you may get the following error:

“Fatal error: Cannot redeclare class soapclient in ../nusoap.php on line 7240″

A quick google search will reveal the following cause.
As PHP5 already has a built in class called soapclient, this is where the clash is…

The best way to fix this problem is to rename all instances of soapclient with nusoapclient in the lib and samples directories that come with the 0.7.2 version of NuSOAP.

Read More

Applescript with Growl notifications

Growl is a notification system for Mac OS X: it allows applications that support Growl to send you notifications. Thankfully the peeps at growl have afforded us integration with applescripts. I use growl notifications to provide a bit more feedback when backing up my mac to a USB drive. Good for those long running scripts …

You can find out more about the growl notifications here.

growlnotifcation.png

Read More