Re: Mailing all the elements of a form

From: Date: Sun, 07 Jul 2002 06:07:24 +0000
Subject: Re: Mailing all the elements of a form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105934@lists.php.net to get a copy of this message
Jeremy Bowen wrote:
Hey, I have looked in PHP manual but I cannot seem to find what I am looking for. I have a very large form that I need to be able to mail. I just don't want to have to code all of the field into my mail() function. Thanks, Jeremy
Привет! *IF* the form is only to be mailed, and no other action shall be taken on the data it contains, you can use CGI processing instead of calling PHP. Can't remember the name of the call now, but there is something like that on every site. *IF* you also want to process data *AND* mail it, you will have to to build the $body mail function or do some tricky things to have a second copy of your form built in a self-closing entity (DHTML can do that) which will perform the CGI action while your PHP script takes care of processing the original form. Usually is much quicker to code the mail body. It depends on the context you are in. пока Альберто -- @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

« previous php.general (#105934) next »