![]() |
|
#1
|
|||
|
|||
Form mail help needed pleaseHello, am new here so if this is posted in the wrong place I apologize in advance. What I need help with is this:
To use a PHP form-mailer on a Linux Dedicated or Virtual Dedicated server, create a Web form in HTML that links to a PHP file I have the web form created in html, now how do I link it to a php file? Any help with this would be greatly appreciated. |
|||
|
#2
|
|||
|
|||
Re: Form mail help needed pleaseQuote:
Basically what happens is this: - Your html form gathers data. - On submittal the data is sent according to what is specified in the form tag. eg: <form method="post" action="blah.php"> - At the server apache gets the submittal and see's that it's going to a .php and so executes blah.php and passes you forms' data to it. - At that point you script takes over and does whatever you write it to do. It could send a response page , or not etc etc etc... it's all up to you. There are also scripts out there which are pre-written to accomplish particular tasks. You just install them and fill in the blanks. There is an old standard perl script which works similarly specifically for generating emails from a form submittal called "formmail.pl" which has been replaced by a more secure "tfmail.pl" Perl scripts might need to be located in a certain directory in order for the server to execute them. Here is a very good tutorial http://www.tizag.com/phpT/ You may want to start at the beginning , you may want to read ahead to "forms" and you may then want to read ahead to POST & GET |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mail Form in DreamWeaver | CallFaheem2 | Web Design Forum | 6 | 12-Dec-2006 01:45 |
| Form Validation Issue | petenyce405 | MySQL / PHP Forum | 3 | 11-Jan-2005 22:35 |
| help with form | orbitel | MySQL / PHP Forum | 11 | 21-Jan-2004 16:29 |
| Guestbook error | BobbyDouglas | Web Design Forum | 1 | 16-Oct-2003 23:17 |
| How to encrypt mail sent by your feedback form? | JdS | Web Hosting Forum | 4 | 30-Aug-2002 08:51 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The