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...