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
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...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.