forked from GNUsocial/gnu-social
		
	Removed phpmsnclass sample
This commit is contained in:
		@@ -1,40 +0,0 @@
 | 
				
			|||||||
#!/usr/bin/php -Cq
 | 
					 | 
				
			||||||
<?php
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
error_reporting(E_ALL);
 | 
					 | 
				
			||||||
include_once('msn.class.php');
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// force to use MSNP9, without debug information
 | 
					 | 
				
			||||||
// $msn = new MSN('MSNP9');
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// force to use MSNP9, with debug information
 | 
					 | 
				
			||||||
// $msn = new MSN('MSNP9', true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// force to use MSNP15, without debug information
 | 
					 | 
				
			||||||
// $msn = new MSN('MSNP15');
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// force to use MSNP15, with debug information
 | 
					 | 
				
			||||||
// $msn = new MSN('MSNP15', true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// auto detect MSN protocol, without debug information
 | 
					 | 
				
			||||||
// $msn = new MSN;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// auto detect MSN protocol, with debug information
 | 
					 | 
				
			||||||
$msn = new MSN(array('user' => 'statusnetbot@inflatablegoldfish.com', 'password' => 'statusnetplugin', 'alias' => 'statusnetbot', 'psm' => '', 'debug' => true));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if ($msn->Run()) {
 | 
					 | 
				
			||||||
    echo "Error for connect to MSN network\n";
 | 
					 | 
				
			||||||
    echo "$msn->error\n";
 | 
					 | 
				
			||||||
    exit;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
//$msn->sendMessage('Now: '.strftime('%D %T')."\nTesting\nSecond Line\n\n\n\nand Empty Line",
 | 
					 | 
				
			||||||
 //                 array(
 | 
					 | 
				
			||||||
  //                  'darkip@inflatablegoldfish.com'
 | 
					 | 
				
			||||||
   //                    )
 | 
					 | 
				
			||||||
    //             );
 | 
					 | 
				
			||||||
echo "Done!\n";
 | 
					 | 
				
			||||||
exit;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
?>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user