SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot pacman2504's Avatar
    Join Date
    Oct 2003
    Location
    North Wales
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with form/email script

    Hi,

    I have a form on my site that uploads some data into a database, and then emails a confirmation message using a simple PHP script. It has always shown the 'From' line as anonymous@thesite.com, but I have now put the form on to SSL, and the default 'From' line now shows Unprivileged User.

    I'm wondering if there is any way to change the default 'From' line on an email message using PHP, or whether this has to be configured on the web server?
    In the land of the witless, the half-wit is king.
    Business and liability insurance quotes

  2. #2
    Dinah-Moe Humm mudshark's Avatar
    Join Date
    Dec 2003
    Posts
    1,072
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    php.net mail function should be of help...

  3. #3
    SitePoint Zealot pacman2504's Avatar
    Join Date
    Oct 2003
    Location
    North Wales
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks - found what I needed there.
    In the land of the witless, the half-wit is king.
    Business and liability insurance quotes


Bookmarks

Posting Permissions

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