Question subject: Beginner needs help- simple 'mail_to' contact form in PHP
Posted: Tue Feb 17, 2009 11:25 pm
Joined: Sun Feb 15, 2009 5:27 pm Posts: 2 Has thanked: 0 time Have thanks: 0 time
Hi all! ... I used TrendyFlash Site Builder to create a site, which generated a 'contact.php' file that I need to modify. Basically it calls for the user to send a comment with a name, email id, subject and message. I need it to send those details to an external email id that I specify. Here's the script as generated by the software in that 'contact.php' file :
So is this right ? I uploaded it to test it, but it doesn't seem to work as I'm not getting anything in my email box. If I can only get this script right, I can apply it to all future sites that I create using this software. So I just need to get it right once. This software isn't designed for scripting- PHP or otherwise, so it needs the user to know PHP if he wishes to go by that route (else I'd have to only publish the site to CD). Also if it requires any proper formatting (as some lines in the script seem to me to be out of place), then provide that too.
Any takers?
Regards,
C.
PS. In case yor interested, you can view the site as I created it at this link --> http://visitmyspace.sitegoz.com/ (just need that damn script to work!)