Archive for Oktober, 2006

Udah bisa, tapi kok sms nya nggak nyampe2 ya? Hmm.. lagi error kali. Siip dah. Langkah berikutnya tinggal bikin class-nya. Iklan


Masih error nih.. bantuin dong.. maklum programmer amatiran.. <?php // mentari-nofunc.php define(“MENTARISMS_USERAGENT”, “prototipe lib-mentarisms Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”); define(“MENTARISMS_URL”, “http://www.klub-mentari.com/index.php&#8221;); define(“MENTARISMS_LOGIN”, “http://www.klub-mentari.com/login.php&#8221;); define(“MENTARISMS_REDIRECT”, “sms/send_sms2.php”); define(“MENTARISMS_KIRIM_SMS”, “http://www.klub-mentari.com/sms/xt_send_sms2.php&#8221;); $message = “Kirim SMS Mentari via PHP”; $recipient = “628567074554”; /* Get sid */ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, MENTARISMS_URL); curl_setopt($ch, CURLOPT_HEADER, 1); // baca header […]