Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show IP di WP
#1
PHP Code:
<?php $img_number = imagecreate(275,25); $backcolor = imagecolorallocate($img_number,102,102,153); $textcolor = imagecolorallocate($img_number,255,255,255); imagefill($img_number,0,0,$backcolor); $number = " Your IP is $_SERVER[REMOTE_ADDR]"; Imagestring($img_number,10,5,5,$number,$textcolor); header("Content-type: image/jpeg"); imagejpeg($img_number); ?>

Save ke file image.php lalu upload di webmu.

Untuk memanggil'a supaya kelihatan di halaman index WP mu gunakan script di bawah ini :

PHP Code:
<img src='http://yoursitehere.com/image.php' border=”1″>

Sisipkan script di atas di file index.php ..... rebes gan....

Contoh : http://matmund.smd.web.id/image.php

Ini web ane'a : http://matmund.smd.web.id
[Image: 38146_1357480580260_1328870801_30871163_5495656_n.jpg]
Reply


Messages In This Thread
Show IP di WP - by matmund - 02-06-2011, 02:55 PM
RE: Show IP di WP - by Dika_xb - 02-06-2011, 03:25 PM
RE: Show IP di WP - by matmund - 02-06-2011, 03:29 PM
RE: Show IP di WP - by Cruz3N - 02-09-2011, 01:54 PM
RE: Show IP di WP - by matmund - 02-10-2011, 10:09 AM
RE: Show IP di WP - by daisukei - 01-12-2012, 04:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Electric_16 Show off deface + P.O.C E1nzte1N 13 339 08-14-2012, 08:19 PM
Last Post: E1nzte1N

Forum Jump:


Users browsing this thread: 1 Guest(s)