Web programming guys...know any place I can figure out how to do this?

vi edit

Elite Member
Super Moderator
Oct 28, 1999
62,484
8,344
126
Before you click, it's a link to a an image. There is a script running that pulls your IP, ISP, and browser version and dumps it into an image. I would like to know how to do know if there are any free versions of this script that I could grab and use.

click me

 

Rias

Member
Aug 23, 2002
101
0
0
It's pretty easy to do in plain cgi, they take your ip address, the domain you're comming from (not your isp) and something that checks your useragent and superimposes it onto an image.
 

wedi42

Platinum Member
Jun 9, 2001
2,843
0
76
how would you make a .jpg run the cgi ?
i could see linking to a .cgi and producing a .jpg but not vice versa.
 

brentman

Senior member
Dec 4, 2002
628
0
0
could it be a custom error page? perhaps there is no vipersig.jpg in that folder and thats the error page it generates?

just a thought.

maybe some kind of remapped file extension setting on the server. (ISAPI or other filter)

its cool either way. :)
 

ndee

Lifer
Jul 18, 2000
12,680
1
0
Originally posted by: vi_edit
Before you click, it's a link to a an image. There is a script running that pulls your IP, ISP, and browser version and dumps it into an image. I would like to know how to do know if there are any free versions of this script that I could grab and use.

click me

I made something similar under http://www.elitepics.ch although I only take one picture and put a small logo on the bottom. You might check out http://ch.php.net/manual/en/function.imagefttext.php or http://ch.php.net/manual/en/ref.image.php for all image functions.

I think I could make an open source sig generator like that :)
 

conjur

No Lifer
Jun 7, 2001
58,686
3
0
I HATE sites that make the browser size change to fill the screen (w/o maximizing...have to resize it down.)

:|
 

arcain

Senior member
Oct 9, 1999
932
0
0
Originally posted by: johngute
how would you make a .jpg run the cgi ?
i could see linking to a .cgi and producing a .jpg but not vice versa.

This can be done using the ForceType directive under Apache.

Example: Place in .htaccess

<Files vipersig.jpg>
ForceType application/x-httpd-php
</Files>


That would cause the file "viersig.jpg" to be treated as a PHP script under Apache.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
I could do that with Image::Magick, GD, or PIL. If you want .jpg fiels to be treated as cgi scripts, jsut set up apache that way.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: Beau
Originally posted by: jfall
when i right click, save picture as, the type of the picture is .PNG ???

.png owns! :D

It's getting there. There are still some browsers that don't correctly support it.

Mainly the piece of junk that is IE 6.

It's not the fault of PNG, though. PNG is a very nice format for colormapped or RGB images.