» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > PHP Programming and Tips

PHP Programming and Tips Discuss about PHP programming and Share Tips. Ask questions about Scripting and Errors.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2006, 01:29 PM
tufnell tufnell is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tufnell is on a distinguished road
Default form to image in PHP

I want to write the following but how to create teh code

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 appears
2) I want it to contain their Name and Email address on the image.

Thanks in advance -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-15-2006, 01:30 PM
49ers 49ers is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
49ers is on a distinguished road
Default

To actually make use of the form data, the method depends on whether you want to return the image alone to the browser or whether you want it contained in a proper web page.

If it's the former you can use $_GET or $_POST directly in a GD script as jojoba suggests. If it's the latter you can read the form input, put it in the src of your <img> tag as appropriately urlencode()d GET values, then read it from $_GET in the GD script. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting from one form on a page to another form chloe ASP forums and Tips 1 08-25-2006 10:57 AM
PHP version 5.1.4... code upgrade pointers anyone? utseya PHP Programming and Tips 1 08-14-2006 03:05 PM
need a source form generator PHP delta PHP Programming and Tips 4 07-22-2006 11:02 AM
Getting MySQL & PHP to communicate JCH MySQL Forums 0 05-29-2006 01:52 PM
Ask Jeeves Launches Proprietary Image Search Technology outsourcingplans Web Hosting Industry 0 01-26-2006 07:05 PM


All times are GMT. The time now is 01:23 PM.