Page 1 of 1

sending POST variables with header()

Posted: Thu Mar 15, 2007 12:39 pm
by mlecho
how do you send POST variables with a header(Location: ...) method? I am trying to redirect a page, but i want to send some variables that were posted to that page with the re-direction...any ideas?

Posted: Thu Mar 15, 2007 12:56 pm
by John Cartwright
You cannot send post variables simply using a header(), you can send get variables however.

If you do need to send post, take a look at cURL.