Orang IT Indonesia » nice http://www.orangit.com A Blog Written By Ahlul Faradish Resha, S.Si Mon, 06 Feb 2012 17:30:23 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 The Simplest Custom Yahoo Online Status Ever http://www.orangit.com/2010/05/13/the-simplest-custom-yahoo-online-status-ever.html http://www.orangit.com/2010/05/13/the-simplest-custom-yahoo-online-status-ever.html#comments Thu, 13 May 2010 02:53:24 +0000 Ahlul http://ahlul.web.id/blog/?p=732 Continue reading ]]> Ok, this tutorial was wrote in Indonesian :) but i think you can use google to translate it.

Berikut ini saya mo memberitahukan bagaimana membuat custom status yahoo Anda sesederhana mungkin.

Dengan skrip ini berarti anda bisa menggunakan image atau gambar sendiri untuk menampilkan status yahoo messenger anda.

Ok berikut caranya:
- buatlah file dengan nama: customym.php
- Isikan kode berikut:

[sourcecode lang="php"]
//Gunakan variable berikut ini untuk menampilkan gambar custom anda
$image_on = 'http://serviceforweb.com/customym/online.jpg';
$image_off = 'http://serviceforweb.com/customym/offline.jpg';
//Nah ini untuk ID Yahoo anda
$yahoo_id = 'ceo.ahlul';
//Ok, lets go....
$status = intval(file_get_contents('http://opi.yahoo.com/online?u='.$yahoo_id.'&m=t&t=1'));
if($status) {
$loc = $image_on;
} else {
$loc = $image_off;
}
header('Location:'.$loc);
?>
[/sourcecode]

- Simpanlah customym.php

Cara pemakaian:
[sourcecode lang="html"]Status Yahoo[/sourcecode]

Ok, that it ;) Simple bukan.

Silahkan share klo menurut anda posting ini bermanfaat.

]]>
http://www.orangit.com/2010/05/13/the-simplest-custom-yahoo-online-status-ever.html/feed 12