You can compare each character against the "standard character set" by
means of regular expressions.
Angelo Zanetti escribió:
Al wrote:
Angelo Zanetti wrote:
Hi guys.
Ive developed a site and now I've come to the stage where I need to
test each textfield on each form for illegal charact
Al wrote:
Angelo Zanetti wrote:
Hi guys.
Ive developed a site and now I've come to the stage where I need to
test each textfield on each form for illegal characters that have been
inputted.
I would like to know from some of you how you go about it?
Do you use a regular expression and te
> Gregory Machin wrote:
>> Hi
>> Is there an application that can pass source code and report potential
>> security problem and or the live site ?
>> Many thanks
>> --
>> Gregory Machin
>> [EMAIL PROTECTED]
>> [EMAIL PROTECTED]
>> www.linuxpro.co.za
>> www.exponent.co.za
>> Web Hosting Solutions
>>
Matthew Sims wrote:
I recently purchased George Schlossnagle's Advanced PHP Programming and on
page 85 in the Error Handling chapter, he made a reference about the
is_int function.
In the above function example he had:
if (!preg_match('/^\d+$/',$n) || $n < 0) {
In which he mentions:
It might be
--- Matthew Sims <[EMAIL PROTECTED]> wrote:
> I recently purchased George Schlossnagle's Advanced PHP Programming and
> on page 85 in the Error Handling chapter, he made a reference about the
> is_int function.
>
> In the above function example he had:
> if (!preg_match('/^\d+$/',$n) || $n < 0) {.
Matthew Sims wrote:
I recently purchased George Schlossnagle's Advanced PHP Programming and on
page 85 in the Error Handling chapter, he made a reference about the
is_int function.
In the above function example he had:
if (!preg_match('/^\d+$/',$n) || $n < 0) {
In which he mentions:
It might be
Yeah, 4 will pass the is_int() test, '4' won't.
I prefere just to use if(ctype_digit($foo)){ ... }
On Tue, 29 Jun 2004 15:12:22 -0700 (PDT), Matthew Sims
<[EMAIL PROTECTED]> wrote:
> I recently purchased George Schlossnagle's Advanced PHP Programming and on
> page 85 in the Error Handling chapter
> Vlad Georgescu wrote:
>
>> how can test if var $int is integer ?
>
> In the manual:
>
>http://www.php.net/is_int
>
> Another one which might be helpful:
>
>http://www.php.net/is_numeric
>
>
> Hope this helps,
>
> Torben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscr
Craig wrote:
Yeah those damn email always come at same time.
Well on my blocked list now.
This is only helping the Symptom. Why not solve the Problem?
The mails you got are auto-replies. Unfortunatley I didn't find a person
responsible for this [EMAIL PROTECTED] but perhaps such a person
is readin
Yeah those damn email always come at same time.
Well on my blocked list now.
"Jordi Canals" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sherri wrote:
> > Woah!
> >
> > Signed up litterally 1 minute ago and I'm already getting spam. From
> > "Advance Credit Suisse Bank"
> >
> Jus
I think it's someone else on the list getting the email lists, and spaming.
>>Signed up litterally 1 minute ago and I'm already getting spam. From
>>"Advance Credit Suisse Bank"
>>
>>Great. Thanks php.net.
>>
>>Guess you can't even trust the well known sites not to slam you with spam.
--
PHP Ge
"Advance Credit Suisse Bank"
Great. Thanks php.net.
Guess you can't even trust the well known sites not to slam you with
spam.
Come on, that's not fair. Those emails are sent by some unscrupulous
individual who subscribed to the list and set up a rule to reply those
spams to everyone who posts t
Sherri wrote:
Woah!
Signed up litterally 1 minute ago and I'm already getting spam. From
"Advance Credit Suisse Bank"
Just wait. There are some more waiting for you ;) You should receive the
"Information Desk" and "Ingram Computer Services" mails yet.
--
PHP General Mailing List (http://www.php.n
On Mon, 8 Apr 2002, Tom Rogers wrote:
> At 09:16 AM 8/04/2002, Charlie Killian wrote:
>> I'd like to condense the function below into one line.
>>
>> function isOneBitSet($n)
>> {
>>$x = log($n)/log(2);
>>return ($x == intval($x));
>> }
>>
>> AND I don't want to do this:
>> return (log($n)
Hi
Not sure if this is the best way to do it:
function isOneBitSet($n)
{
return !ereg("\.",strval(log($n)/log(2)));
}
Tom
At 09:16 AM 8/04/2002, Charlie Killian wrote:
>That post was incomprehensible. Here it is revised:
>
>I'd like to condense the function below into one line.
>
>func
en it , as says on the FrontPage
in 10 days. On February 11-th..
Cheers,
Maxim Maletsky
-Original Message-
From: Navid [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 6:02 PM
To: 'PHPBeginner.com'; 'PHP'
Subject: RE: [PHP] RE: test ... please ignore ...
Th
Thank you very much, I will look forward to this. This may be just what I
was looking for, a complete beginner's tutorial for PHP. Congrats and good
luck with the opening night.
Sincerely,
Navid
-Original Message-
From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, F
17 matches
Mail list logo