Reply to Re: ctype functions

Your name:

Reply:


Posted by Oli Filth on 06/02/05 03:07

Nullcode said the following on 02/06/2005 01:00:
> Im using ctype functions for validation of form input, for speed and
> ease of use.
>
> What I was wondering, is whats the deal with whitespace ? it would
> appear that ctype_alnum() for example, returns false if there is a space
> in the string. Is this correct ? thx

Yes. From the manual:

"Returns TRUE if every character in text is either a letter or a digit,
FALSE otherwise. In the standard C locale letters are just [A-Za-z] and
the function is equivalent to preg_match('/^[a-z0-9]*$/i', $text)."


--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация