JeremyE
JeremyE

Reputation: 1418

What does "URL=" in a URL Mean?

May be a dumb question, but it's been bugging me recently. I see "URL=" inside alot of URL's, such as this one:

http://www.tierraantigua.com/search-2?url=http%3A%2F%2Flink.flexmls.com%2Fwws30ham

What exactly is this used to do? Is it part of the iFrame functionality? I know the last part of the URL (after the URL=) is the part being displayed in the iFrame, but I'm unsure of why it is included in the primary URL as well.

Thanks!

Upvotes: 0

Views: 77

Answers (2)

Jaime Torres
Jaime Torres

Reputation: 10515

The url you see here is just a standard query parameter wit the name url and the encoded value http%3A%2F%2Flink.flexmls.com%2Fwws30ham which decodes to http://link.flexmls.com/Fwws30ham. Most of the times it is used for determining redirection or source information by the application you are using. It is entirely domain-specific and can have any meaning the website developer would like to use.

Upvotes: 1

underscore
underscore

Reputation: 6887

PHP GET

Description ¶

An associative array of variables passed to the current script via the URL parameters.

$url = $_GET['url'];

echo $url; // http%3A%2F%2Flink.flexmls.com%2Fwws30ham

Upvotes: 1

Related Questions