By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,716 Members | 1,317 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,716 IT Pros & Developers. It's quick & easy.

IM Away Message auto post to PHP website...

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <18**************************@posting.google.com >,
no*********@post.com (John) wrote:
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...


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

Jul 17 '05 #2

P: n/a
In article <18**************************@posting.google.com >, John wrote:
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...


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>
Jul 17 '05 #3

P: n/a
Hello,

On 09/19/2004 01:43 AM, John wrote:
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...


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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.