I've never used CURL, it sounds a little beyond my skills, and off-hand, that also doesn't sound like what I'm looking for.
I found this from searching on Google, which does what I want, I was just hoping not to use JavaScript. Another draw back is, that the intermediate page is noticably visisble for about a second, whereas with the php header() redirects it's much less noticible.
function SubmitForm($FormName) {
//JavaScript function to submit a form programmatically
//$FormName must be form“s name (as specified in the opening form tag)
echo '<script language="javascript">document.'.$FormName.'.submit()</script>';
}
SubmitForm('formname');
Does anyone now how to replicate the JavaScript functionality in PHP?
Thanks.