º)))) JGC30 CØMMUNITY ((((º
Would you like to react to this message? Create an account in a few clicks or log in to continue.

º)))) JGC30 CØMMUNITY ((((º

JGC 30 Community
 
IndeksIndeks  PencarianPencarian  Latest imagesLatest images  PendaftaranPendaftaran  LoginLogin  

 

 Yahoo Messenger Status

Go down 
PengirimMessage
indri______jgc30@att.net
site owner
site owner
indri______jgc30@att.net


Jumlah posting : 337
Age : 44
Location : [][] jakarta [][]
Registration date : 23.11.07

Yahoo Messenger Status Empty
PostSubyek: Yahoo Messenger Status   Yahoo Messenger Status Icon_minitimeMon Feb 18, 2008 8:43 am

Yahoo Messenger Status

Script untuk Yahoo Status Indicator yang telah diposting sebelumnya
hanya akan bekerja dengan baik jika allow_url_fopen di set On.
Ketika allow_url_fopen di set Off, maka pada bagian ini :


Quote :
PLAIN TEXT
PHP:

  1. $buka = fopen("http://opi.yahoo.com/online?u=".$id."&m=t","r");



tidak akan bisa dijalankan.

Kali ini kita akan mencoba mengunakan CURL:


Quote :
PLAIN TEXT
PHP:

  1. $yahooid = "yahooidanda";
  2. $ch = curl_init("http://opi.yahoo.com/online?u=".$yahooid."&m=t");
  3. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  4. $status = curl_exec($ch);
  5. curl_close($ch);
  6. if($status == $yahooid." is NOT ONLINE"){
  7. //tampilkan gambar offline
  8. echo "Yahoo Messenger Status Yahoo-offline";
  9. } elseif ($status == $yahooid." is ONLINE"){
  10. //tampilkan gambar online
  11. echo "Yahoo Messenger Status Yahoo-online";
  12. }



Dan allow_url_fopen pun bukan masalah lagi untuk menampilkan status Yahoo Messenger. lol!
Kembali Ke Atas Go down
http://indri-n-friends.super-forum.net
 
Yahoo Messenger Status
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» New! Yahoo! Messenger for the WebBETA
» YF_ Messenger V1.0 bye DEAN - Chat Client
» Yahoo! Messenger Vista Preview 2008.01.11.428
» _iTunes Status YIM!9_
» Lions Yahoo! Tools V1.03

Permissions in this forum:Anda tidak dapat menjawab topik
º)))) JGC30 CØMMUNITY ((((º :: (¯`·._.· CHAT ·._.·´¯) :: .: - Yahoo Help :.-
Navigasi: