August 25

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

0  comments

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!


Tags

data, domain, form, htaccess, page, pass, PHP, post, redirect, relay


You may also like

Leave a Reply

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

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Subscribe to our newsletter now!