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 ([EMAIL
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
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
in php, do
$perl=fopen('http://localhost/your_perl_script.pl?data='.$your_data,'r');
fclose($perl);
optionaly, you can read from the file handler to get some feedback from
the perl script
Scott wrote:
I just realized I should have been more specific with my question. What I
want to do is use
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
the mail
will be sent ONLY and ONLY IF the data was succsesfully stored into the DB.
Cheers, Cesar
- Original Message -
From: Scott [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 2:05 AM
Subject: [PHP] form with two actions
Hello
I would like
. return true
- Original Message -
From: Scott [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 4:05 PM
Subject: [PHP] form with two actions
Hello
I would like to know if it is possible to use Php to make a form perform 2
actions by having the user
7 matches
Mail list logo