Hi, i am using the header() function to change the $_GET data, but I want to send some $_POST data along with it, how do I do that? I hope I was clear, if I wasn't I will post an example
there's a couple examples on this site that i found for you http://talk.code-head.com/showthread.php?t=35 one of those methods should work for you.
From my experience it's nearly impossible to do it easily, and many times just impossible. There are ways to do it with curl, and using http streams, and a few other functions. Unfortunately, there is not any way to set a post variable with a header("... function. Since you cant use a header function, it's pretty much impossible to redirect a user and include post data with them. This only allows php to post to a page, the user would not be redirected at the same time. Anyway, start looking for 'curl post data', 'php http stream', and 'fsocketopen'. Is there no way to use the GET function for what you are trying to accomplish?
other than that you can pass the "wanna-be" post data along in a session with the redirect if it is within the constructs of your domain.
Hi, I figured a workaround. I wrote all the data into a text file, then on the other page opened it, and read it then deleted it