Re: How do you read one of these parameters?
| From: | Robert Cummings | Date: | Fri, 11 Feb 2005 16:16:17 +0000 |
| Subject: | Re: How do you read one of these parameters? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208551@lists.php.net to get a copy of this message | ||
On Thu, 2005-02-10 at 19:28, Brian Dunning wrote:
> I see URLs formatted like this:
>
> http://tinyurl.com/xyz
>
> How do you read that "xyz," since there's no "/?x=" preceding it? Is
> it
> not a get parameter?
It means the hosting webserver either does a URL rewrite for the
receiver application, or the receiver application parses the URL itself.
In either case the developer then assigns the value to a variable of
their choice. This is usually a positional approach to URL variables.
Meaning you can't arbitrarily re-arrange the order of the variables.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'