<? include("yim.php"); $YIM=new YIM(); $cookie=$YIM->login("your_yahoo_id","your_yahoo_id_password"); $YIM->send($cookie,"phpkar","I am using PHP YIM API :D"); ?>