it didn't work, I get a bunch of weird simbols when I run the file.
Main Topics
Browse All TopicsHi, I search the web and I only found websites where they offer generated images to display on signature.
Does anyone know how to make a signature that will display, ip, isp, OS, browser, and possibly location?
I know it's done in php, and I have gd installed on the server. Anyone that knows let me know.
Thanks in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here's what he forgot to do.
<?php
$image = imagecreatefrompng('mypngb
//$image = imagecreatefromjpeg('myjpg
$red = imagecolorallocate($image,
imagestring($image, 0, 0, 0, $_SERVER['REMOTE_ADDR'], $red);
imagestring($image, 0, 0, 10, $_SERVER['HTTP_USER_AGENT]
header ("Content-type: image/png");
imagepng($image);
imagedestroy($image);
?>
That will make it work as it has to tell the browser that the code it is recieving is a PNG image.
After working a little bit more on that, I rewrote his previous code:
<?PHP
$myimage = ImageCreate(300,150);
$background = ImageColorAllocate ($myimage,0,0,0);
$text = ImageColorAllocate ($myimage,255,255,255);
imagestring($myimage,18,10
imagestring($myimage,18,10
imagestring($myimage,18,10
header("Content-type: image/png");
ImagePNG($myimage);
imagedestroy($myimage);
?>
That should give you a start.
Business Accounts
Answer for Membership
by: RoonaanPosted on 2005-07-24 at 11:40:54ID: 14514396
<?php
ackground. png'); background .jpg'); 255, 0, 0);
, $red);
$image = imagecreatefrompng('mypngb
//$image = imagecreatefromjpeg('myjpg
$red = imagecolorallocate($image,
imagestring($image, 0, 0, 0, $_SERVER['REMOTE_ADDR'], $red);
imagestring($image, 0, 0, 10, $_SERVER['HTTP_USER_AGENT]
imagepng($image);
imagedestroy($image);
?>
See also http://php.net/image
-r-