This is a discussion on Newbie ?: need sample form processing scripts within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello all you cool folks! I'm new to PHP and DreamWeaver. I'm on a very short deadline and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello all you cool folks!
I'm new to PHP and DreamWeaver. I'm on a very short deadline and I need only to process an HTML form with a few data fields. I need to do three things, all three triggered by form submission: 1. capture the form field names and their matching values, 2. Write that data to an email and send the email to one or more addresses as a single message with multiple recipients. 3. Write the same data into a comma AND quote delimited text file. Save the file in a named server sub-folder. If the file exists, append each subsequent form submission. If not, create the file and write the first record. Perhaps I've missed such scripts in my own searches on the web and on php.net. Can anyone point me to some web sources for examples of such PHP scripts just to get the ball rolling? All responses appreciated. |
|
|||
|
On Tue, 08 Jun 2004 22:28:28 -0500, cwrv <??@??.com> wrote: >1. capture the form field names and their matching values, > >2. Write that data to an email and send the email to one or more >addresses as a single message with multiple recipients. Feel free to use my contact form generator: http://www.rent-a-tutor.com/tools/ it is free and you can create a contact form online. The PHP source code is then sent to you via e-mail so make sure you enter a valid mail address. Then you can study the resulting source to find out how the form works. Marian -- Internet-Dienstleistungen - von der Webseite bis zum Online-Shop http://www.heddesheimer.de mailto:marian@heddesheimer.de |
|
|||
|
I noticed that Message-ID: <4qvcc0dfc4m03pvmoisra6ijtmh8lvtldp@4ax.com>
from cwrv contained the following: >Perhaps I've missed such scripts in my own searches on the web and on >php.net. Can anyone point me to some web sources for examples of >such PHP scripts just to get the ball rolling? You can learn all these things by searching for tutorials. e.g. http://www.google.com/search?sourcei...tutorial+files 4th one down looks promising. Repeat for the other stuff. -- Geoff Berrow (put thecat out to email) It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/ |