Re: [PHP] Re: Recursion to sanitize user input

2004-10-08 Thread Comex
The recursion doesn't do anything with the returned value from the function. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Recursion to sanitize user input

2004-10-08 Thread zooming
n until it finds a single variable and returns it as a sanitized value. - Original Message - From: "M. Sokolewicz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 08, 2004 6:19 PM Subject: [PHP] Re: Recursion to sanitize user input > Very simple :)

[PHP] Re: Recursion to sanitize user input

2004-10-08 Thread M. Sokolewicz
Very simple :) when recursion happens, you return the sanitized value, but never store it ;) [EMAIL PROTECTED] wrote: I'm trying to sanitize my user input. My sanitize function does not work if I send a variable that's an array. I'm using recursion to go through the array. The example below sh