NameSilo

Image that reads IP

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

arejayell

Established Member
Impact
15
How can I create a Image that reads from a Ip, Like how that have for adult sites, as my client wants to do one for her site and I have no clue how that works but have seen it a million times.

Regards
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
what do you mean by this, that displays the ip or saves it?
 
0
•••
i too need some flash script what saves de ip and host :D please :d
 
0
•••
If you want it to save the IPs and hosts that view it, just look at the stats from your host. It should have information about different files and users and what they went to.

If you mean showing the users IP on the image, this can be done with PHP.
 
0
•••
They use PHP or another programming language and either .htaccess or naming the image something.php

A simple
<?php
$ip = $_SERVER['REMOTE_ADDR'];
?>
With a header("Content Type: image/jpeg"); saved as image.php and included in a <img src="image.php"> works just fine. Or you could do it even more simplier and just have a PHP file and use mod_rewrite to get it into an image format for use.

- Steve
 
1
•••
iNod said:
They use PHP or another programming language and either .htaccess or naming the image something.php

A simple
<?php
$ip = $_SERVER['REMOTE_ADDR'];
?>
With a header("Content Type: image/jpeg"); saved as image.php and included in a <img src="image.php"> works just fine. Or you could do it even more simplier and just have a PHP file and use mod_rewrite to get it into an image format for use.

- Steve

Thank you!

and thanks to everyone else, I am sorry I was not clear in my first post.

:)
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back