2010/1/25 Richard Quadling :
> Hi.
>
> I'm in the process of building a web service which incorporates the
> ability for the server to inform the client that a particular call has
> been superseded by another.
>
> So, cut down (I've removed all the other details), ...
>
> class ServiceDetails
>
2010/1/25 Nathan Rixham :
> Richard Quadling wrote:
>> Hi.
>>
>> I'm in the process of building a web service which incorporates the
>> ability for the server to inform the client that a particular call has
>> been superseded by another.
>>
>> So, cut down (I've removed all the other details), ...
Richard Quadling wrote:
> Hi.
>
> I'm in the process of building a web service which incorporates the
> ability for the server to inform the client that a particular call has
> been superseded by another.
>
> So, cut down (I've removed all the other details), ...
>
> class ServiceDetails
>
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
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 :)
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
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
Alex, and Michael,
here is a code fragment which I have cut and simplified from one of
my working scripts, that does some simple javascript checking of a form.
It should give you an idea of how to do it. There is a lot of
documentation, and examples of javascript on the web. Try a google
Alex
Like you I have php scripts that validate the contents of registration
and other forms. I'm new to php and do not have a clue about client side
(java) scripting. Yes and the GO BACK AND TRY AGAIN process is what my
php scripts do. All very messy. I'll have to learn javascript but
currentl
Alex,
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. Probably
th
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.
Hi Andres,
Yes, PHP support "recoursion". That means, that you are calling a function
again and again, but with new start-parameters. For example, if you want to
search a harddisc for a file, you will call your
function SearchFolder($path)
with "C:\". If the function itself detects subfolder, it
17 matches
Mail list logo