Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image request triggering a generator script

Status
Not open for further replies.

Slink409

Technical User
Feb 8, 2007
1
US
Hi and thanks for the replies in advance. Here is my short question...

I'm wondering, what is the best way to execute an image generator script, and then serve that generated image when a web browser attempts to access a .jpg/gif file?

Explained further...

I have a PHP script that can generate my images on the fly ( but it requires a link to a .php file. I would really like anyone to be able to go to, or reference " and be shown an image that was quickly produced by my script.

My main goal is to use a geo-ip database and image generator to create images in whatever language, based on where the surfer is coming from and have a text reference in the image to their country or whatever.

I'm not married to using PHP for this its just easy and common. If anyone has better suggestions I would love to hear them. Also, it’s going to be accessed quite a bit so speed and efficiency are a priority.

I would gladly take a point in the right direction but if someone knows a much better/more advanced way of doing this and wants to help me out privately I would be willing to... well you know. (I don't want to break the "no recrutement" rule ;)

FYI I'm using apache 1.3.37 and have basic image generator and geo-ip scripts both written in PHP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top