You are here: does PHP automatically run rawurldecode on any any URL to figure out what pass parameters to capture? « PHP Programming Language « IT news, forums, messages
does PHP automatically run rawurldecode on any any URL to figure out what pass parameters to capture?

Posted by lawrence k on 01/07/06 05:49

I noticed, to my surprise, that PHP was still able to figure that
"search" is suppose to be an array:

http://www.accumulist.com/index.php?search%5BallFields%5D=bluewall

I'm impressed with that. Till now I've used POST in my forms as the
method for doing search forms, but now I'm trying GET and everything is
working fine.

Do most browsers auto encode a form input when it is sent via a GET
method? Is the encoding standard? It does not break anywhere?

What is PHP doing that it is able to figure out that in the above URL
"search" should be an array variable in the $_GET array?

 

Navigation:

[Reply to this 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

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