logged_with_bugmenot Posted August 15, 2006 Share Posted August 15, 2006 How would I write a code to do the following:I have a form with the following fields:"Name""Email""Country"I want PHP to generate an image with the following properties:1) Depending on the country they pick, a different background image appears2) I want it to contain their Name and Email address on the image. Quote Link to comment Share on other sites More sharing options...
Prismatic Posted August 15, 2006 Share Posted August 15, 2006 Give this a try, it includes 2 images, a USA flag and a Chinese flag, a php file called createimage and one called indexIndex 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.[img]http://www.warrency.com/flaggen.jpg[/img][url=http://www.warrency.com/CreateFlag.zip]http://www.warrency.com/CreateFlag.zip[/url]Should be pretty easy to get it to work right for you Quote Link to comment Share on other sites More sharing options...
altemur Posted March 10, 2007 Share Posted March 10, 2007 we can nto download the file.if you have please can you reupload it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.