4 error_reporting(E_ALL);
\r
5 include_once('msn.class.php');
\r
7 // force to use MSNP9, without debug information
\r
8 // $msn = new MSN('MSNP9');
\r
10 // force to use MSNP9, with debug information
\r
11 // $msn = new MSN('MSNP9', true);
\r
13 // force to use MSNP15, without debug information
\r
14 // $msn = new MSN('MSNP15');
\r
16 // force to use MSNP15, with debug information
\r
17 // $msn = new MSN('MSNP15', true);
\r
19 // auto detect MSN protocol, without debug information
\r
22 // auto detect MSN protocol, with debug information
\r
23 $msn = new MSN(array('user' => 'statusnetbot@inflatablegoldfish.com', 'password' => 'statusnetplugin', 'alias' => 'statusnetbot', 'psm' => '', 'debug' => true));
\r
26 echo "Error for connect to MSN network\n";
\r
27 echo "$msn->error\n";
\r
31 //$msn->sendMessage('Now: '.strftime('%D %T')."\nTesting\nSecond Line\n\n\n\nand Empty Line",
\r
33 // 'darkip@inflatablegoldfish.com'
\r