#1
  1. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    I've been wrsetling with this prob for a while....
    I want to set up a basic postcard sending html page.. no db nothing
    just selecting pictures via radio buttons etc. and the message and gif is sent to the person's email address......can anyone help me ??
  2. #2
  3. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    This is a simple one - I'll hint at the framework, but you gotta spend some time with the docs or a book to figure out how. This is real basic PHP stuff...

    1) Make a HTML page with a form on it for the postcard's info (radio buttons to pick style, text box for message, text box for email destination, etc). Have this page's form's action point to a PHP page.

    2) Make the PHP page that is called from the page in step 1. The name of each form element created in step #1 will now magically be a PHP variable.

    Use some if/then statements and string functions to create the postcard based on the info given on form by user.

    Use mail() function to send the finished postcard.
  4. #3
  5. No Profile Picture
    Gianni
    Guest
    Devshed Newbie (0 - 499 posts)
    I apologise if it's all basic knowledge but
    I have done all that.

  6. #4
  7. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    So is it working? Or is there a particular problem you're still having?
  8. #5
  9. No Profile Picture
    bill_mabee
    Guest
    Devshed Newbie (0 - 499 posts)
    Thanks for the hints!

    One question about pointing to the web page: Is it possible to get php3 to generate and store a web page/postcard in a specific directory and then the next time look to see what the last page name stored was while at the same time sending an email to the postcard recipient with the address to that page in the body? and continue generating pages by ordered names? Obviously I'm keeping within the vain of doing this without a database, but I think I've got mysql down well enuf that I could use that too if necessary.

    Any hints?

Similar Threads

  1. HELP Editing database through HTML form
    By kashaf in forum PHP Development
    Replies: 2
    Last Post: February 12th, 2004, 11:17 AM
  2. Replies: 9
    Last Post: January 29th, 2004, 07:33 AM
  3. How to get client email??Help plz
    By Gecko22 in forum ASP Programming
    Replies: 12
    Last Post: January 22nd, 2004, 01:40 PM
  4. not returning records when it should
    By aliaga61 in forum ASP Programming
    Replies: 3
    Last Post: January 16th, 2004, 10:57 AM
  5. 'Object required' error
    By aliaga61 in forum ASP Programming
    Replies: 1
    Last Post: January 16th, 2004, 08:48 AM

IMN logo majestic logo threadwatch logo seochat tools logo