Generate an image with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
easyteck
Forum Newbie
Posts: 13
Joined: Thu Jun 05, 2003 12:01 pm
Location: Ecuador
Contact:

Generate an image with PHP

Post by easyteck »

Hey,

I've made a script that draws a gif images containig the visit counter for a site!

This is working well, now I want to put this image in a HTML page with something like:

Code: Select all

<img src="http://myhost/visit_counter.php?id=1234">
I know that is possible,

If someone can help with this!

don pool
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Looks like you have already figured out the code for this - just place that where you want your counter to appear!
easyteck
Forum Newbie
Posts: 13
Joined: Thu Jun 05, 2003 12:01 pm
Location: Ecuador
Contact:

Post by easyteck »

Thnks man... I've made it !

cheers
don pool
Captain Proton
Forum Newbie
Posts: 4
Joined: Fri May 09, 2003 6:59 am

Post by Captain Proton »

Wow, this thread is like:
Poster: 1 + 1 = 2. I know it is, can somebody give me the answer?
Replyer: You have already posted the answer to your own question
Poster: Thanks for the help man!

;)
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

hehe
True, sometimes the most obvious is the hardest thing to see...
Post Reply