Forum Moderators: phranque

Message Too Old, No Replies

Simultaneous Form Completion

affiliate froms

         

Eric in Tennessee

8:06 am on Jun 3, 2003 (gmt 0)

10+ Year Member



Any sharp CODERS want to take a crack at this?

Is there a way to have a form on site A (my site) and a form on site B (affiliate network site) filled out simultaneously?

I want to track my visitors from start to finish, but can only track them until they leave to fill out the form on the affiliate network.

I want form to be filled out on my site so I can track them and on the affiliate site simultaneously so they don't get all referals from one IP.

I know that IF this can be done, the people on this board can do it.

I am of the opinion that you can do just about anything if you know how to program. Am I dreaming here?

e-TN

jatar_k

4:17 pm on Jun 3, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There are a couple of options I would think

Some aff programs allow you to host the forms on your own site I believe. If this one doesn't then it really isn't an option.

You could get the form action and field names from their form and have the form processor on your site submit the proper values to their form processor. This is a bit tricky. Easy to send it via a get string but not so easy to post.

Eric in Tennessee

7:08 pm on Jun 3, 2003 (gmt 0)

10+ Year Member



thanks for the reply jatar,

Are there any resources that I could look up on how to do this?

e-TN

jatar_k

7:26 pm on Jun 3, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



search for
submitting two forms

there seem to be a few methods with javascript using frames.

jamesa

8:37 pm on Jun 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First, as a test, copy their form onto your server (modify the action attribute accordingly) and see if you can submit it successfully. If so then it's easy:

Recreate their form on your server, and have it submit to YOUR own script. In your script you:

a) email or log the order however you want, and
b) use cURL (assuming Unix) to send the data to the affiliate via POST
c) capture the result page of the affiliate (via cuRL) and display it back to the user.

Note that in their logs all of your orders would be coming from your IP.

Eric in Tennessee

5:17 am on Jun 4, 2003 (gmt 0)

10+ Year Member



Note that in their logs all of your orders would be coming from your IP.

Ouch! That is exactly what I am trying to avoid. Is there a way to do it without all the orders coming from my IP?

I don't want there to be any question of integrity. If there is not a way then I guess I will simply have to try to talk them into it.

Thanks for the assistance, you have been a big help.

Ciao,

e-TN

nitin flying

5:57 am on Jun 4, 2003 (gmt 0)

10+ Year Member



Well you can use the hidden values or the query string generated form your server and then mailed to the client for verification which append the data on affiliate server.

This makes the data goes from the client from your website and he also visits the affiliate programe site.

Easy two logs one is your another the affiliate programe server

Nitin

jamesa

5:58 am on Jun 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Then the framed javascript thing jatar_k referred would be better. But even then you'll need to host the form on your site, so you'd show up in the HTTP_REFERER.