Re: How do you read one of these parameters?

From: Date: Fri, 11 Feb 2005 20:42:41 +0000
Subject: Re: How do you read one of these parameters?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-208559@lists.php.net to get a copy of this message
I may be looking at this problem from the wrong direction but if your form method is a post you will not see the parameters in the url, if your form method is a get you will. examples: <form method="POST" action="test.php"> <input type="HIDDEN" name="x" value="yes"> example url: http://www.something.com/test.php <form method="GET" action="test.php"> <input type="HIDDEN" name="x" value="yes"> example url: http://www.something.com/test.php?x=yes Sorry if I am note getting the problem. -Blake On Fri, 11 Feb 2005 11:16:17 -0500, Robert Cummings <robert@interjinn.com> wrote: > 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. | > `------------------------------------------------------------' > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- +-------------------------------------------------------------------------+ |Blake Schroeder | Owner/Developer | www.lhwd.net| +---(http://www.lhwd.net)---------------------------------------+

« previous php.general (#208559) next »