Re: A form question (Help ASAP)

by "Sue Bailey" <sue(at)bartandsue.co.uk>

 Date:  Tue, 23 May 2000 14:54:43 +0100
 To:  <hwg-techniques(at)hwg.org>
 References:  p jeff
  todo: View Thread, Original
...and I'll add to that, that PHP's mail function will save you SO much
typing and hassle over Formmail. It's a dream come true!!

Sue

----- Original Message -----
From: Rossi Designs <webmaster(at)rossidesigns.net>
To: Sunil Bahl <sunilbahl(at)tigersden.i-p.com>; <christie(at)thearmidalemall.com>
Cc: <hwg-techniques(at)hwg.org>
Sent: Tuesday, May 23, 2000 12:51 PM
Subject: Re: A form question (Help ASAP)


> type this into a text editor and save it as test.php3
>
> <?php phpinfo(); ?>
>
> Then upload it and point a browser at the page, if you see a lot of
> information then PHP is an option.
>
> Rossi Designs
> PO Box 1084
> Holly Hill, FL 32125-1084
> Phone : (904) 226-8979
> URL : http://rossidesigns.net
> ----- Original Message -----
> From: Sunil Bahl <sunilbahl(at)tigersden.i-p.com>
> To: <christie(at)thearmidalemall.com>
> Cc: <hwg-techniques(at)hwg.org>
> Sent: Monday, May 22, 2000 11:25 PM
> Subject: Re: A form question (Help ASAP)
>
>
> | Hi Christie,
> |
> | My service provider is using Matt's FormMail on his server but it comes
> preconfigured. i will write to him as ask him if he can make the necessary
> changes.
> |
> | If he does not then what are the other options??
> |
> | Thanks.
> |
> | Regards,
> | Sunil.
> |
> |
> | -----Original Message-----
> | From: "Christie Cooksey" <christie(at)thearmidalemall.com>
> | Date: Mon, 22 May 2000 12:36:55 +1000
> | To: "Sunil Bahl" <sunilbahl(at)tigersden.i-p.com>
> | Subject: Re: A form question (Help ASAP)
> |
> |
> | > Sunil
> | >
> | > I'm not sure, but I use Matt's FormMail...try this:
> | >
> | > 1. Find this...  " # Define the configuration associative array."
> | >     and add...      'cc_to','',
> | >
> | > 2. Find this...
> | >         print MAIL "To: $Config{'recipient'}\n";
> | >         print MAIL "From: $Config{'email'} ($Config{'realname'})\n";
> | >     and add...
> | >         print MAIL "CC: $Config{'cc_to'}\n";
> | >
> | > 3.  Then add this to your form:
> | >     <input type="hidden" name="cc_to" value="someone(at)something.com>
> | >
> | > Let me know if it works. *smile*
> | >
> | > Cheers  :0)
> | > Christie Cooksey
> | > Websites "Designed by Christie"
> | > http://www.designedbychristie.com
> | >
> | > ----- Original Message -----
> | > From: "Sunil Bahl" <sunilbahl(at)tigersden.i-p.com>
> | > To: <hwg-techniques(at)hwg.org>
> | > Sent: Sunday, May 21, 2000 3:10 PM
> | > Subject: A form question (Help ASAP)
> | >
> | >
> | > > Dear Friends,
> | > >
> | > > I am making a site for a company that has 9 offices. Now what my
> client
> | > wants is that when the form is filled one copy of it goes to him and
> another
> | > goes to the office, which is selected, from a drop down box in the
form.
> | > >
> | > > Does anyone know how this can be done????? The code for my form is
as
> | > follows:
> | > >
> | > > <form method=post action="/bin/formmail.pl">
> | > > <input type=hidden name="recipient" value="xyz(at)clientsdomain.com">
> | > > <input type=hidden name="subject" value="Contact Form">
> | > > <input type=hidden name="redirect"
> | > value="http://www.clientsdomain.com/thankyou.htm">
> | > >
> | > > <b>Branch : </b>
> | > > <select name="branch" size=1>
> | > > <option selected value="branch">Select the branch you wish to
> | > contact</option>
> | > > <option value="Bombay">Bombay</option>
> | > > <option value="Calcutta">Calcutta</option>
> | > > <option value="Goa">Goa</option>
> | > > </select>
> | > >
> | > > </form>
> | > >
> | > > So what do I have to add to the above coding so that the mail gets
> | > directed to the necessary office plus a copy to the owner of the
> site????
> | > >
> | > > Await your replies via e-mail.
> | > >
> | > > Thanks in advance.
> | > >
> | > > Best Wishes,
> | > > Sunil.
> | > >
> | > >
**********************************************************************
> | > > ICQ: 16174772
> | > >
> | > > Webmaster of:
> | > >
> | > > 1. TIGER'S DEN : "THE WEB DESIGNERS HAVEN"
> | > > http://www.tigers-den.net
> | > >
> | > > 2. ROTARY INTERCAMBIO DE J�VENES: "EL VIAJE A ARGENTINA"
> | > > http://www.tigers-den/rotary
> | > >
> | > > 3. BAHL'S BUSINESS COMMUNICATIONS.COM
> | > > http://www.business-comm.com
> | > >
**********************************************************************
> | > > --
> | > > _________________________________________________
> | > > Get your free email from http://tigersden.i-p.com
> | > > Do visit our main site http://www.tigers-den.net
> | > >
> | > > powered by OutBlaze
> | > >
> | --
> | _________________________________________________
> | Get your free email from http://tigersden.i-p.com
> | Do visit our main site http://www.tigers-den.net
> |
> | powered by OutBlaze
> |
> |

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA