• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

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

vi edit

Elite Member
Super Moderator
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

 
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.
 
how would you make a .jpg run the cgi ?
i could see linking to a .cgi and producing a .jpg but not vice versa.
 
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. 🙂
 
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 🙂
 
I HATE sites that make the browser size change to fill the screen (w/o maximizing...have to resize it down.)

:|
 
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.
 
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.
 
Originally posted by: Beau
Originally posted by: jfall
when i right click, save picture as, the type of the picture is .PNG ???

.png owns! 😀

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.
 
Back
Top