I have a form on my website where someone enters a unique number and a capacha key, when submitted these details they are sent to another website which has the same form but in chinese. If the details are correct it returns a download link.
http://www.debrandi8910.net/dcert.php < see here
What i am wanting to do is submit my form but capture the other websites results in a varible and output that varible on my website, so users dont leave my site and end up on the chinese website.
My idea was to use something like file_get_contents('index.php?number=1234'), but due to the form having to use POST this wont work.
Does anyone know of a way to pass POST varibles to another website and capture that page within a varible.
I was thinking about how proxy scripts work, and this allows the same kind of behavior?