Skip to content

Simple Way to Relay or Pass POST Data From A Page to Another Without .htaccess, Even Cross-Domain

So I had a page which I absolutely could not change or rename. The challenge was, this page would normally receive POST data, and I had to pass or relay this POST data to another page, which resided on another domain. I tried .htaccess, but that didn’t work, so I figured that I had to do some programming. It was simple enough with the curl library to do so, and here it is – The method to pass POST data from page to page:

Done!

Leave a Reply

Your email address will not be published. Required fields are marked *