Jump to content

anbu_nin

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

anbu_nin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi everyone I'm new here, I'd like to ask if my php page got something like this in the url [code]http://www.something.com/something.php?var1=http%3A%2F%2Fmangataz.free.fr%2Fmanga%2Fnaruto.htm&var2=naruto&var3=http%3A%2F%2Fsomething.com%2Fsomething.php%3Fq%3Dnaruto%26var4%3Dhttp%253A%252F%252Fmangataz.free.fr%252Fmanga%252Fnaruto.htm%26imagesrc%3D[/code] Now php understood variable 1 and 2 but couldn't understand variable 3. In variable 1 %3A is ":" and %2F is "/" but once we reach variable 3, we start having %3F which is "?" and %3D which is "=". And then %26 is "&" and %253A becomes ":" and %252F becomes "/" (basicly, since we have another "?", 25 is being added to these things, like %2F becomes %252F....) Now is there anyway to let php understand the variables that come after var3? I usually use $HTTP_GET_VARS ir request to get variables....... If there is no way, I thought I could take the entire unknown text as var3 and then replace each occurence of %26, %253A etc by the correct character and then I will be left with a variable, say [code]$var3 = "http://www.something.com/something.php?q=naruto&var4=......"[/code] now how can I extract var4 or "q" out of var3. I hope I didnt confuse the hell out of you....I'm sorry if I did....
×
×
  • 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.