PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi there,
I've just built a contact form in my Flash website and have now got it working ok with my php script. The only problem is when I recieve an email from the form, the name that appears in my inbox is my hosting username and domain address. Is there anyway I can get the senders name or email address to appear there instead? Also when I hit reply to the email the reply address in the new email is my hosting address again! Can my script be altered so that I can reply to the sender's address without having to enter it in manually?
I know these are probably straight forward things to fix but I'm very new to PHP and am totally stumped!
Many thanks.
Hello again,
I've nearly got my script working ok with my form now, the only problem is I still seem to get my hosting domain tagged onto the name of the sender I get in my inbox. For example if I put in Pendleton as the name in my form, when I recieve the email the name header reads: Pendleton@myhost103.mesa1.secureserver.net, even though in my script I have only declared $name in my $headers = 'From: ' statement? Is there anything I do so that just the senders name appears?
Thanks again.