vapanchamukhi Posted June 19, 2009 Report Share Posted June 19, 2009 is it possible to pass php variable values from one php page to another php page using header() function?? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 19, 2009 Report Share Posted June 19, 2009 If you send a location header you can put a querystring on it, like with any other URL. You can't use a location header to send a post request. Link to comment Share on other sites More sharing options...
attila2452 Posted June 20, 2009 Report Share Posted June 20, 2009 how would you do it?? Link to comment Share on other sites More sharing options...
jlhaslip Posted June 20, 2009 Report Share Posted June 20, 2009 header('http://domain.com/go_here.php?p=take_this') Link to comment Share on other sites More sharing options...
smerny Posted June 20, 2009 Report Share Posted June 20, 2009 header('http://domain.com/go_here.php?p=take_this') then you would use the information on go_here.php with $_GET['p']echo $_GET['p'] would give you take_this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now