Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- PHP regular expressions


jatar_k - 3:36 am on Aug 18, 2002 (gmt 0)


Sorry I can't help with the regex bit but,

HTTP_GET_VARS is an array, so I don't really understand the second question.

I use

foreach ($HTTP_GET_VARS as $key=>$value)

to alter values and generally mess with anything I want to. What, more specifically, would you like to do.

If register_globals is on then you can use those vars as is or if not you can assign them each to their own var and then run through them.

I could be misunderstanding the question though.


Thread source:: http://www.webmasterworld.com/php/545.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com