Re: form with two actions
| From: | Scott | Date: | Wed, 13 Nov 2002 16:36:23 +0000 |
| Subject: | Re: form with two actions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124236@lists.php.net to get a copy of this message | ||
I just realized I should have been more specific with my question. What I
want to do is use php to submit registration data to the database and then
send part of the data to a perl script to be encrypted and sent in an email.
I have to use perl for the encryption because of user permissions on the
server-Php and GPG run as different users. So I have to send the data in 2
different directions rather than keep it in the same script. I would like to
be able to do it without having the user do double entries. If I can still
do this without two submits, then I guess I do need an example.
Thanks for the responses,
SW
On Wednesday 13 November 2002 07:16 am, you wrote:
> For that example, you don't need two submits... the same script that
> handles the submitted data for the database can send the email...
>
> usually it's only a problem if one form has to be submitted to two servers,
> or something...
>
> do you need an example?
>
>
> Justin
>
> on 13/11/02 3:05 PM, Scott (gildedpage@comcast.net) wrote:
> > Hello
> > I would like to know if it is possible to use Php to make a form perform
> > 2 actions by having the user click on a single submit button. For
> > instance, send data to a database and email it simultaneously. I would
> > prefer not to use javascript. If someone could point me to an example I
> > would appreciate it
> >
> > Thanks,
> > S.W.
>
> Justin French
> --------------------
> Creative Director
> http://Indent.com.au
> Web Developent &
> Graphic Design
> --------------------