Jump to content

PHP Redirects


CoolAffiilate

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.