www.webdeveloper.com
Results 1 to 4 of 4

Thread: emailing forms with PHP

  1. #1
    Join Date
    May 2006
    Posts
    13

    emailing forms with PHP

    how do i email a form with php please help

  2. #2
    Join Date
    May 2006
    Location
    North of the South Pole
    Posts
    590
    Email a form? You mean like email a form with get and post variables like a web page? I don't know how to do that, but this code will email a regular message:

    PHP Code:
    mail([string email address], [subject], [message text], "From: "[and name and <email>]); 
    Example:

    PHP Code:
    mail("me@example.com""Hi!""Hello, World!""From: The Virtual Machine <thevirtualmachine@example.com>"); 
    I hope that helps.

  3. #3
    Join Date
    Oct 2005
    Location
    Gold Coast, Australia
    Posts
    2,115
    See the mail function for further insight.

  4. #4
    Join Date
    May 2006
    Location
    North of the South Pole
    Posts
    590
    Is this what you're trying to do?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles