X-Static Codes
Chat to Us @
SNM Chat
in #X-Static
Home
|
Contact
Login
Register
Search
Scripting
Snippets
Tutorials
Competitions
Links
Memberlist
Pastebin
Affiliates
Contact Admin
Sponsors
Nameless
Official #nameless website
Rooted.in
I got Rooted did you?
Stats
Total Members: 56
Newest User: Nofilicity
Snippets Added: 153
View
IP Dynamic Signature
Snippet Author:
FURBY
Rated:
Snippet Description:
This will show the viewer there ip in a image
<? Header('Content-Type: image/png'); $img_width = 240; $img_height = 50; // create the image $im = @imagecreate($img_width, $img_height); // set the colours $cool = imagecolorallocate($im, 81, 86, 96); $green = imagecolorallocate($im, 206, 129, 18); // set the background colour // number or is top left pixel x, top left pixel y, bottom right pixel x, bottom right pixel y imagefilledrectangle($im, 0, 0, $img_width, $img_height, $cool); // now i will create a line with font size 8, with no angle, 10 pixels to the right, and 17 pixels down imagestring($im, 4, 10, 10, "Your IP is: ".$REMOTE_ADDR, $green); // output and destroy imagepng($im); imagedestroy($im); ?>
Favorite Script
-
Smilies
Message:
Comments: