Jump to content


Form to Image

  • Please log in to reply
2 replies to this topic

#1 logged_with_bugmenot

  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 15 August 2006 - 10:34 AM

How would I write a code to do the following:

I have a form with the following fields:

I want PHP to generate an image with the following properties:
1) Depending on the country they pick, a different background image appears
2) I want it to contain their Name and Email address on the image.
Earn money with Google AdSense

#2 Prismatic

  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego

Posted 15 August 2006 - 11:39 AM

Give this a try, it includes 2 images, a USA flag and a Chinese flag, a php file called createimage and one called index

Index holds the form, which posts to createimage which will draw the flag depending on what they chose and the name and email in a black box with a white border at the bottom.

Posted Image


Should be pretty easy to get it to work right for you

#3 altemur

  • Members
  • PipPip
  • Member
  • 12 posts

Posted 10 March 2007 - 10:44 PM

we can nto download the file.
if you have please can you reupload it?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users