Jump to content

Send Data Via Http Headers


isimpledesign

Recommended Posts

Quick question for you guys.

 

I am collecting payment data for a product.

 

Is it possible to send data from my form via http directly into another payment form via the post http headers?

 

So say if i had all the details payment info and address info and i matched my form exactly to theirs. Is it possible to write a php script to send the data from my form directly to another websites form to make an order, say amazon or a big site like this?

 

?first_name=samuel&last_name=east&action=Submit

 

Any Help?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/220826-send-data-via-http-headers/
Share on other sites

Quick question for you guys.

 

I am collecting payment data for a product.

 

Is it possible to send data from my form via http directly into another payment form via the post http headers?

 

So say if i had all the details payment info and address info and i matched my form exactly to theirs. Is it possible to write a php script to send the data from my form directly to another websites form to make an order, say amazon or a big site like this?

 

?first_name=samuel&last_name=east&action=Submit

 

Any Help?

 

Thanks

 

You can send it yes, but it is up to the receiving site if they want to accept it and what to do with it.  Using post, this is how you send info to PayPal, but other sites may not work the same way.  You will need to look at their developer/API docs.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.