Newbie ?: need sample form processing scripts

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2004
cwrv
 
Posts: n/a
Default Newbie ?: need sample form processing scripts

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.
Reply With Quote
  #2 (permalink)  
Old 06-09-2004
Marian Heddesheimer
 
Posts: n/a
Default Re: Newbie ?: need sample form processing scripts


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
Reply With Quote
  #3 (permalink)  
Old 06-09-2004
Geoff Berrow
 
Posts: n/a
Default Re: Newbie ?: need sample form processing scripts

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0