After the user clicks the button SUBMIT:
a) a Welcome page is shown;
b) a Welcome email is sent to his inbox;
c) the data is retrieved in a database;
I need to send sequential messages to the user's inbox. Thus, I signed for an autoresponder service. I'm supposed to install a simple form with only name and email address to trigger the sequential messages.
Can PHP send only the two fields to the autoresponder service, without installing the proper form (and saving the user the task of filling two forms)?
Can PHP do this?
Moderator: General Moderators
Can PHP do this?
Hello, Volka. Dank fur deinem antwort.
This web site http://homeservices-directory.com is under construction.
It's a referral service, catered to home services providers and homeowners. The service providers start registering at the bottom of the page ARE YOU A SERVICE PROVIDER? CLICK HERE!
After Registered the company and press the SUBMIT the system:
a) Retrieves the data in MySQL, for future search;
b) Opens a Thank you Page;
c) Sends a validation (Welcome) message to the Service Provider;
I need to send several messages to that same Service Provider and I can do that by auto-responder. http://www.autorespond-it.com
To do this I have to place another form in order to the Service Provider receive the messages. This form has only two fields: name and email address. But these two fields already are in the first form the Service Provider just filled!
IS IT POSSIBLE PHP register the Service Provider using only those two fields? Remember, PHP in one server already:
a) Retrieves the data in MySQL, for future search;
b) Opens a Thank you Page;
c) Sends a validation (Welcome) message to the Service Provider;
This web site http://homeservices-directory.com is under construction.
It's a referral service, catered to home services providers and homeowners. The service providers start registering at the bottom of the page ARE YOU A SERVICE PROVIDER? CLICK HERE!
After Registered the company and press the SUBMIT the system:
a) Retrieves the data in MySQL, for future search;
b) Opens a Thank you Page;
c) Sends a validation (Welcome) message to the Service Provider;
I need to send several messages to that same Service Provider and I can do that by auto-responder. http://www.autorespond-it.com
To do this I have to place another form in order to the Service Provider receive the messages. This form has only two fields: name and email address. But these two fields already are in the first form the Service Provider just filled!
IS IT POSSIBLE PHP register the Service Provider using only those two fields? Remember, PHP in one server already:
a) Retrieves the data in MySQL, for future search;
b) Opens a Thank you Page;
c) Sends a validation (Welcome) message to the Service Provider;
ah ic.
e.g. you have this formThe you retrieve the posted data in register.php via $_POST['name'] and $_POST['email'] (maybe performing some checkings).
(see also: http://forums.devnetwork.net/viewtopic.php?t=511)
inserting the data into a mysql-db then looks like
(see also: http://www.php.net/manual/en/ref.mysql.php)
then the server has to re-submit the data acting as the client. If the data needs to be POSTed I suggest using a php-class like snoopy since the urlwrapper only handles GET (not much to handle there
)
e.g. you have this form
Code: Select all
<form method="POST" action="register.php">
<input type="text" name="name" />
<input type="text" name="email" />
<input type="submit" />
</form>(see also: http://forums.devnetwork.net/viewtopic.php?t=511)
inserting the data into a mysql-db then looks like
Code: Select all
$dbConn = mysql_connect( ... );
mysql_select_db( ... , $dbConn);
$query = 'INSERT INTO tablename (name,email) VALUES ('.
mysql_escape_string($_POST['name']) . ',' .
mysql_escape_string($_POST['email']) . ')';
mysql_query($query, $dbConn);then the server has to re-submit the data acting as the client. If the data needs to be POSTed I suggest using a php-class like snoopy since the urlwrapper only handles GET (not much to handle there
Can PHP do this?
Danke schon! Wieviel wollen Sie dieses operation machen?