You are here: Re: Ereg Dashes « All PHP « IT news, forums, messages
Re: Ereg Dashes

Posted by Johannes Wienke on 03/20/06 23:16

Am 20.03.2006 21:57 schrieb Smiley:
> I'm trying to write some code that checks my input for any illegal
> characters. I want to make the dash "-" a legal character, but I can't
> figure out how to do that being as it's always interpreted as a range
> symbol.

\-

But don't use ereg-functions anymore. preg-functions are much faster.

 

Navigation:

[Reply to this 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

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