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.
Download: php-growl.zip

mamasam.com

Trackback URI | Comments RSS

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.

Leave a Reply


  • I am Fernando Barajas. Mostly known has FernyB.

  • Recent Comments

    • wat: hey fernyb i was just informed that the new pwnage tool is releasing tomrow with installer 4 and the updated...
    • Gaisce1: Fernando, Would it be possible to have the ‘current track’ title displayed in LastBridge as well...
    • Pip: Even after using TextWrangler and inputting my last.fm username there VLC gives me this error message: main: no...
    • Pip: I can give you a call from my phone, if you don’t mind providing some live help. I have copied the file as...
    • Pip: Thanks Fernando for your prompt reply! I am glad you are also a Mac user, but I have to confess that your blog...

    Recent Listened to Tracks

    Loading...

Bad Behavior has blocked 246 access attempts in the last 7 days.

eastern-avalanche
eastern-avalanche
eastern-avalanche
eastern-avalanche