I was able to get that code working. The biggest problem I had was
the sample code to call the class that I found was missing the
addNotification line:
<?php
$growl = new Growl();
$growl->setAddress('127.0.0.1');
$growl->addNotification("Test"); // Added line
$growl->register();
// Send Notification
$growl->notify("Test", "Test Alert", "The body of the test alert!");
?>
On Nov 12, 7:55 pm, Josh <[email protected]> wrote:
> Me and my buddy are trying to get the growl notification to work with
> some php code that we have been writing. We found the PHP class that
> is out on GITHub by Tyler, but it seems that this code is out of
> date. Does anyone have a copy of a working version of the growl
> class? We are getting a runtime error on line 4 of the code that you
> can see athttp://code.google.com/p/php-growl/ any suggestions?
--
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=.