Relaying post data in php?
|
demo 24 Dec 2008 09:43am I have a html file that delivers information to my php script, check against a file on the server and then continues to another page with the information. Origionally i was using get with: header("Location: file.php?login=variable"); but then i changed the method from get to post and now i dont know how to send the information from my php file to the next file. Anyone help me out? |
Answers
|
demo 24 Dec 2008 10:01am I would suggest creating a new session variable and assigning its value to the post value you want to pass to the next page, ie: <? session_start(); $_SESSION['myvar']='this will carry'; ?> |
Related
Submit Answer
You must be logged in to post an answer. Please Login or Register.
Powered by phpMyAnswers.