Forum Moderators: coopster

Message Too Old, No Replies

Duplicating remote form data

duplicate remote form data

         

terry1738

8:19 pm on Feb 22, 2008 (gmt 0)

10+ Year Member



Hi

Is it possible to save the data filled into a remote form and put it into a data base on the local system?

To explain my problem in more detail: Our company uses a form on another companies website to advise of new customer details.

Then we completely duplicate the work again and fill the data out into our own database.

What I would like to do is while filling out the fields on the other companies form is to save the data and put it our data base automatically.

This may not be possible as I can find no references to it but would be thankful of any advice as to the feasibility.

Regards
Terry A

PHP_Chimp

8:38 pm on Feb 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A lot will depend on the other company. As they could post the information directly to your server, so that you could take the information.

// other company server
<form action="http://your_company/handle_form.php" method="post">
...form...
//
// Your company server
$name = $_POST['name'];
// do whatever you want with the information
header('Location: http://other_company/thanks.php');

However I would guess that this is not what the other company wants to do, or they would have already suggested this.

Welcome to WebmasterWorld.

<edit>
They could save the information as an xml file then you could read that file into your database. The issue then is now are they going to notify you of a new contact.

[edited by: PHP_Chimp at 8:40 pm (utc) on Feb. 22, 2008]

terry1738

9:53 pm on Feb 22, 2008 (gmt 0)

10+ Year Member



Alternately can I fill the data in on a duplicate form locally then somehow feed the data into there remote form?

I havn't been able to get much cooperation back from them and now we are dealing with several companies that have these web portals all with different forms so it would be better if we can do it from our end.

Terry

PHP_Chimp

10:37 am on Feb 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are not getting a lot of co-operation from the other hosts then there are only limited things that you can do. As if the form is on another server that you dont have control over you will have to put up with whatever deal they give you.

How are they notifying you that the form have been completed? As there may be a way to automate that process, so that you dont need to have the form completed on your server.