nachtgeist03 0 Report post Posted April 17, 2005 Ah yes, the magical and dreaded form. Anyways, just a small question regarding them.I've checked a few pages out that talk about the "action" prompt in the form coding. What I'm trying to achieve is having the form email an account of mine when the user hits "submit".Now I know the old, easy way out of this was to have action="mailto:my.email@my.email.box.com". After reading a bit on this (and trying it myself), I've discovered this is not a suitable solution. What happens when you use mailto in the form is when submit is clicked, it opens up your default email program (usually outlook for Win users). Obviously this can't be had :)Upon further reading (albeit vague reading), the pages I read talked about using a server-side php/cgi/asp file to send the mail. Only problem is, none of the sites gave examples of the file for people to examine and perhaps duplicate for their own uses.If someone could either post an example of one of these files, or give me a link not to the file it's self, but to a page the talks about what is actually going on inside the file, that would be great Share this post Link to post Share on other sites
miCRoSCoPiC^eaRthLinG 0 Report post Posted April 17, 2005 Check out this other post of mine: http://forums.xisto.com/topic/82772-topic/?findpost=1064295426 - this illustrates exactly what you intend to do. There's a php code in this post that you can save as a file, and then, instead of redirecting your action="mailto:" you set it to action="filename.php" - all your form's contents will be sent to this script - which then parses and break it up into appropriate lines and mails it to you using the commandline mailer named mail. There are ample comments in the code - so I guess understanding it won't be a big problem. All the best Share this post Link to post Share on other sites
jipman 0 Report post Posted April 17, 2005 Really, have you seen that little button on the right top of this page called search? and if you click it, and you enter the words 'php email script form'You might have landed on THIS topichttp://forums.xisto.com/topic/82772-topic/?findpost=1064295426=The moral of the story, use the almighty search, it is there to be used. Please use this function first because else the forum will be filled with topics about the same stuffTOPIC CLOSEDedit: hmm whoops micro beat me to this Share this post Link to post Share on other sites