Jump to content

Capturing Ip Address


eugene2009

Recommended Posts

No something along the lines of:

 

header('Content-Type: ' . image_type_to_mime_type(IMAGETYPE_GIF));
$image = imagecreatetruecolor(180, 30);
imagestring($image, 3, 5, 5, $_SERVER['REMOTE_ADDR'], imagecolorallocate($image, 255, 255, 255));
imagegif($image);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.