Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 17th, 2005, 09:40 AM
John
Guest
 
Posts: n/a
Default IM Away Message auto post to PHP website...

This does a little beyond PHP, but I'm looking for a script to use on
a php website that will grab my current away message from either AIM,
IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
these services constantly, I'm not sure they all have built in away
message support but AIM and IRC definetly do. Anyway, set the php
task either as a cron job and write the message to file, or if it's
fast enough to run when the site is accessed. I'm just wondering if
anyone has any implementation ideas...

John
  #2  
Old July 17th, 2005, 09:40 AM
Michael Vilain
Guest
 
Posts: n/a
Default Re: IM Away Message auto post to PHP website...

In article <1886ac96.0409182043.743b04ac@posting.google.com >,
nobodyuknow@post.com (John) wrote:
[color=blue]
> This does a little beyond PHP, but I'm looking for a script to use on
> a php website that will grab my current away message from either AIM,
> IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
> these services constantly, I'm not sure they all have built in away
> message support but AIM and IRC definetly do. Anyway, set the php
> task either as a cron job and write the message to file, or if it's
> fast enough to run when the site is accessed. I'm just wondering if
> anyone has any implementation ideas...[/color]

First off, do you know how to contact all these services to find out
what your current status is? Is there a published API that will allow
you to do a network connect through a socket to find this information
out. php's strength is doing dynamic web pages. Why do you think it's
the right tool to this task?

Unless you have a php interpeter for the command line, you'll only be
able to use it through the web server. You'll probably be better off
with perl as there are _lots_ of CPAN modules already available to do
all sorts of things. Maybe someone's already written this code for you.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



  #3  
Old July 17th, 2005, 09:40 AM
Tim Van Wassenhove
Guest
 
Posts: n/a
Default Re: IM Away Message auto post to PHP website...

In article <1886ac96.0409182043.743b04ac@posting.google.com >, John wrote:[color=blue]
> This does a little beyond PHP, but I'm looking for a script to use on
> a php website that will grab my current away message from either AIM,
> IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
> these services constantly, I'm not sure they all have built in away
> message support but AIM and IRC definetly do. Anyway, set the php
> task either as a cron job and write the message to file, or if it's
> fast enough to run when the site is accessed. I'm just wondering if
> anyone has any implementation ideas...[/color]

Just write a trillian plugin that stores all the messages in a database.
And then let your php script just access that database.

Both parts are quite easy to implement.

--
Tim Van Wassenhove <http://www.timvw.info>
  #4  
Old July 17th, 2005, 09:40 AM
Manuel Lemos
Guest
 
Posts: n/a
Default Re: IM Away Message auto post to PHP website...

Hello,

On 09/19/2004 01:43 AM, John wrote:[color=blue]
> This does a little beyond PHP, but I'm looking for a script to use on
> a php website that will grab my current away message from either AIM,
> IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
> these services constantly, I'm not sure they all have built in away
> message support but AIM and IRC definetly do. Anyway, set the php
> task either as a cron job and write the message to file, or if it's
> fast enough to run when the site is accessed. I'm just wondering if
> anyone has any implementation ideas...[/color]

There are a few IM interface classes here that may do what you are
looking for:

http://www.phpclasses.org/browse/class/66.html

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles