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
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
variable
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.
H
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 (knowi
> % 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
d
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
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 instant
> 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
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.
9 matches
Mail list logo