Reply to Re: [PHP] How do you read one of these parameters?

Your name:

Reply:


Posted by Blake Schroeder on 02/11/05 22:42

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация