Reply to putting url parameter in array

Your name:

Reply:


Posted by Jeff on 12/11/05 13:36

php 4.x

I'm developing a website and when the user clicks on a menu the code behind
the website have to update the url with new data... All parameters are in
the url... So I want the parameters in the url copied to an array wich I
update.

However I'm not sure whats the best way to access these parameters add put
them in an array I created.... I want the parameters copied to an array, and
this array should be designed so that I can access every item in the array
directly. for example like this:
$art = $params['articleid'] (the value of item articleid is copied over to
$art)

How should I access these parameters in url and get them placed in an array?
I've looked at $_server['query_string'] and $_server['http_host'] and I'm
NOT sure one of them are the correct one to use...
What do you recommend me to use?

Jeff

[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

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