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

2004-10-08 Thread zooming
Hi M I don't understand. I don't think I'm storing it anywhere. I have it looping through all the POST variables. If it's not an array then the sanitize function returns a sanitized value. If it's an array then the sanitize function calls itself again and again until it finds a single

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?????

2003-02-18 Thread Johnson, Kirk
% The benefit of checking in javascript(which I suspect is enabled in most Not me! Not me! Not me! It is by no means ubiquitous. Anyone who even moderately considers security will have it turned off. The latest survey I've seen indicates that about 11% of browsers have JS

Re: [PHP] Re: recursion?????

2003-02-18 Thread Erik Price
On Tuesday, February 18, 2003, at 10:58 AM, Johnson, Kirk wrote: The latest survey I've seen indicates that about 11% of browsers have JS disabled. About the same percent have cookies disabled. Too many for my tastes. Probably 8% of browsers have JS and cookies disabled for a reason

Re: [PHP] Re: recursion?????

2003-02-18 Thread David T-G
Kirk -- ...and then Johnson, Kirk said... % [quoting me] % % Not me! Not me! Not me! % % It is by no means ubiquitous. Anyone who even moderately considers % security will have it turned off. % % The latest survey I've seen indicates that about 11% of browsers have JS % disabled.

Re: [PHP] Re: recursion?????

2003-02-16 Thread David T-G
Fred, et al -- ...and then Fred Merritt said... % ... % The benefit of checking in javascript(which I suspect is enabled in most Not me! Not me! Not me! It is by no means ubiquitous. Anyone who even moderately considers security will have it turned off. HTH HAND :-D -- David T-G

RE: [PHP] Re: recursion?????

2003-02-15 Thread David Freeman
as a general rule of thumb, try to do as much checking as you can with JavaScript. For those checks such as is the field a valid date, is the field numeric and so on, it is much faster to check on the client, than to send the data back to the server and check it there.

Re: [PHP] Re: recursion?????

2003-02-15 Thread Fred Merritt
David, of course. You always should check in the server, even if javascript is working. You have to protect your data integrity. Sorry I did not make this clear. The benefit of checking in javascript(which I suspect is enabled in most browsers these days), is that the client gets an

Re: [PHP] Re: Recursion

2001-10-01 Thread Andres Montiel
Thank you so much! This eases my worries for next semester. Would happen to have an example script showing PHP using recursion? Thanks again! Martin wrote: Hi Andres, Yes, PHP support recoursion. That means, that you are calling a function again and again, but with new start-parameters. For