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? Link to comment https://forums.phpfreaks.com/topic/95312-php-redirects/ 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 Link to comment https://forums.phpfreaks.com/topic/95312-php-redirects/#findComment-488186 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. Link to comment https://forums.phpfreaks.com/topic/95312-php-redirects/#findComment-488187 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. Link to comment https://forums.phpfreaks.com/topic/95312-php-redirects/#findComment-488188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.