Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 423
  • Last Modified:

Update MSN Live Messenger Status from PHP

I would like to update my MSN/Live Messenger Status message from a PHP Script, what would be the best way to do this?
0
TotallyMe
Asked:
TotallyMe
1 Solution
 
SysTurnCommented:
Hi,

You can automate MSN messenger command using classes like MZK http://www.phpclasses.org/mzk

Note that MSN does not allow logging in to the same account more than once at the same time, so if you used PHP to login to your account and change status, any other active connection to MSN service will be dropped.

Hope it helps,

Kind Regards
<?php
    include("mzk.php");
    $t = new MezzengerKlient;
    $t->debug=true;
    $t->onLogin="change_nick";
    $t->init("mail@mail.com","password");
    $t->login();
    $t->main();
    $t->quit();
 
    function change_nick(){
        global $t;
        $t->setNick('I am a bot');
    }
?>

Open in new window

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now