Reply to Re: How to trim parameters and give them a prefix?

Your name:

Reply:


Posted by damezumari on 05/22/07 16:14

Thanks for all the replies!

As far as I can gather from the replies and my new testing:

This does not trim the post variables:
foreach($_POST as $varname => $value) {$varname = trim($value);} does
not trim the post variables.

but this does:
foreach($_POST as $varname => $value) {$_POST[$varname] =
trim($value);}

However, this trimming has no effect on the variables you get from:
import_request_variables('gp', 'p_');

So, the question remains, if I want to use global variables how do I
trim them? I can of course do it by hand one at a time, but is there
no other way?

[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

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