Net_Growl = PHP + Growl

Posted in Mac, Other, PHP, Programming, Uncategorized on Feb 17, 2007

So today I was messing around with php & growl. So here is tip for getting started. First download growl if you dont have it already. Next install the php pear package

Once you have all the set-up. Go into your System Preferences and go into the Network tab in the growl settings. While in the Network tab make sure you click on “Listen for incoming notifications” & “Allow remote application registration” and set the password. I set my password to “123456”

Now type this piece of code.

The first time you run the file through your web browser OSX will prompt you with a message.
Just Click Always Allow unless you have a reason not to.

So once you have done everything from above you should now see a message like the one below.

Wasn’t that cool! so here are the all my files I used.

5 Responses to “ Net_Growl = PHP + Growl ”

  1. # 1 DenisBB Says:

    Fernyb won’t you tell me your ip address, so I would kno where to connect? 😉

  2. # 2 FernyB Says:

    Whether you knew my IP or not you would not be able to connect because I disable the listen for incoming notifications and allow remote application registration.

  3. # 3 DenisBB Says:

    just kidin

  4. # 4 Adam D Says:

    I just downloaded this, and I get an error:

    Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /Server/www/growl/Net/Growl.php on line 35

    Fatal error: require_once() [function.require]: Failed opening required ‘PEAR.php’ (include_path=’.:’) in /Server/www/growl/Net/Growl.php on line 35

    I’m missing a file right?

  5. # 5 fernyb Says:

    Well it seems like it can’t find PEAR.php
    and that is for the most time included in
    every pear package. check your php.ini settings
    also check the path to pear.

  • Recent Comments