(hopefully) quick php question.

    Date: 01/25/08 (WebDesign)    Keywords: php, web

    Okay, so I've got a contact form in PHP. Works fine, functions fine.

    The client would like it so that the email that the user inputs is the "from" email when the information comes in so that when the office hits "reply" on the emails, they don't have to copy & paste the email into the "to" field. (Acc to the guy that I'm subcontracting from, the doctor we're building for "isn't very computer saavy & can't copy & paste". Considering these people handle surgeries on a regular basis, I'm a little frightened by that, but okay)

    My code goes thusly:



    // Declare some constants
    define("EMAIL_FROM", "client Name ");



    and I know that theoretically, what I need to do is have the code input the value of the email variable to where it says ... but I'm kinda burnt out today & my brain just doesn't want to do the math, so I'm doing what I always do - ask you guys for help. ;)

    Anyone got a cheat sheet I can use? Or one you can point me towards?

    Thanks!

    x-posted to webdev

    Source: http://community.livejournal.com/webdesign/1356422.html

« PHP news management system || Convert Site to... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home