function trouble: pass by referrence
| From: | Bryan McCloskey | Date: | Mon, 21 Jan 2002 22:19:16 +0000 |
| Subject: | function trouble: pass by referrence | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81439@lists.php.net to get a copy of this message | ||
Hello all,
I'm trying to pass the $HTTP_POST_VARS array into a
function to run some things like strip_tags, trim, and
htmlspecialchars on all of the variables. If possible,
I would like to pass this array by referrence, and
have the function make changes to the actual array and
not a copy. Accomplishing this is giving me fits,
however. Can anyone help?
-bryan
=====
---------------------------------------------------------------------------
Schrodinger may have slept here.
---------------------------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/