Hey, I don't know if this is the right section, but there's no HTAccess section, so I'll just put it here. Anyways, I'd like to make one of those signatures that gets the IP of the person and then makes and image out of it with the IP. I think the only way to do this is with HTAcces, by making a new image with the persons IP. Is there anyway to do this? Thanks.
glut
0
Light Poster
Recommended Answers
Jump to PostThis will display user IP:
<?php echo $_SERVER['REMOTE_ADDR']; ?>
Then use GD library or imagemagick to create an image from that text, for example with imagemagick from command line it will be:
<?php $ip = $_SERVER['REMOTE_ADDR']; exec("convert -pointsize 30 -label '$ip' image.gif"); ?>
Anyway …
All 3 Replies
cereal
1,524
Nearly a Senior Poster
Featured Poster
glut
0
Light Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.