CoolAffiilate Posted March 10, 2008 Share Posted March 10, 2008 I know this is easy, but I cant quite figure it out. I am trying to redirect users using variables. For example http://www.mysite.com/index.php?&variable=1&variable=2.... I want to redirect them using the same varibles but in a new way... http://www.mysite.com/variable/variable/ Anyone know how I would call the variable, and redirect the people istantly? Quote Link to comment Share on other sites More sharing options...
unsider Posted March 10, 2008 Share Posted March 10, 2008 <? header("example.php"); ?> ? I'm very confused by your question. Sorry Quote Link to comment Share on other sites More sharing options...
CoolAffiilate Posted March 10, 2008 Author Share Posted March 10, 2008 Im trying to get the varibles from a url http://www.cool.com/index.php?&varibale=1&variable2=2 then post it like this http://www.cool.com/1/2 and have them go to it. ?PHP header"(http://www.cool.com/<GET VARIBALE 1>/<GET VARIABLE 2> exit I totally suck a php. Quote Link to comment Share on other sites More sharing options...
DyslexicDog Posted March 10, 2008 Share Posted March 10, 2008 Check out some documentation on the zend framework. If you don't end up using the framework you can at least figure out how to do what you want. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.