Jump to content

POST data using header();


ToonMariner

Recommended Posts

Hi guys,

 

Sure this should be simple but I can't find any info on it.  I need to use a set of header functions to emulate the submitting of a form using the post method.

 

can't use url data in the header('Location: ....'); so I was someone could enlighten me as to how I could acheive sending 3 or 4 variable - value pairs to a specified url simply using a set of header() functions...

 

thanks in advance..

Link to comment
https://forums.phpfreaks.com/topic/59605-post-data-using-header/
Share on other sites

Sorry guys.

 

The page to post to is on a different server so sessions won't help and I can't pass the data via the url.

 

It has to appear as though the data had been posted via a form to the other site. I could redirect to a script on my site that auto submits a form but that requires javascript to be enabled and that is not always the case for some of the potential users...

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.