Re: How do you read one of these parameters?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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)---------------------------------------+

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux