Treating URL text as variable

take this URL

http://www.whatever.foo/bar.php?string1=kittens&string2=string1


As you can see, I want string2 to equal the value of string1, NOT the name "string1". I want to be able to do this without modifying my current PHP script. Is there any way to do this?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion