Welcome Guest, Not a member yet? Register   Sign In
FlamingGrowl - PHP CodeIgniter GNTP library
#1

[eluser]Edmundas KondraĊĦovas[/eluser]
FlamingGrowl is a GNTP (Growl Notification Transport Protocol) library for CodeIgniter. It is designed to communicate with Growl for Windows by sending notifications from your CodeIgniter application to a desired computer.

---

I started working on this out of interest and possible usage in my own CMS. This is a very early version, so nothing too fancy or advanced there.

Code at github: https://github.com/edmundask/FlamingGrowl
Here's a screenshot of how notifications are displayed: http://img845.imageshack.us/img845/7918/...ggrowl.png

Where could FlamingGrowl be used?

Well, imagine you have an online shop CMS and you want to track orders in real time on your computer. FlamingGrowl would work tremendously for this purpose. So every time a new order is placed, you instantly get a notification on your computer. There are a lot of possibilities! Now, I still need to make error handling, add support for SUBSCRIBE requests and make it more easy to use.

Let me know what you think of it.
#2

[eluser]DirkZz[/eluser]
I think you forgot to add the helper "str_hex" ?
Ive added

Code:
function strToHex($string)
{
    $hex='';
    for ($i=0; $i < strlen($string); $i++)
    {
        $hex .= dechex(ord($string[$i]));
    }
    return $hex;
}
And it works like a charm tho Wink.
#3

[eluser]Edmundas KondraĊĦovas[/eluser]
Sorry about that, because of .gitignore rules I didn't notice that I haven't added the helper. It is now on github.




Theme © iAndrew 2016 - Forum software by © MyBB