Jump to content

[SOLVED] Asterix in url


Guest

Recommended Posts

I use google for everything but for once i looked at yahoo and noticed the weird query string

 

http://rds.yahoo.com/_ylt=A0geu6cu0V5IYH4A9exXNyoA/SIG=13h6b7nnh/EXP=1214259886/**http%3a//search.yahoo.com/search%3fei=UTF-8%26fr=yfp-t-501%26p=speed%2btest%26rs=1%26fr2=rs-top

 

This doesn't make any since at all there is two urls?

 

From what I can tell its just using the second one but what is the reasoning for this and is there any documentation about how it works.

Link to comment
https://forums.phpfreaks.com/topic/111395-solved-asterix-in-url/
Share on other sites

They could very well be using it as a separator that can easily be found using regex. If they have two pieces of data they want to store in one variable for whatever reason, they can split it up using

 

$variable = explode("**", URL)

 

(using PHP). In this case they would end up with an array that holds whatever is on the left of the asterixes in the first key, and whatever is on the right of the asterixes in the second key.

 

Or they could use it with the http:// for regex:

 

if(ereg("**http://", URL))
{
   echo "found";
}

 

I have no idea if either of these are what they are doing though. Just speculation on a couple possibilities.

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.