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
Share on other sites

Yea I got it directly from yahoo. I am making a script that uses regex and saw this and through a wrench into the works im just trying to learn what other surprises there could be.

Link to comment
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.