Reply to Re: strpos - and multiple needles?

Your name:

Reply:


Posted by Tim Roberts on 12/31/07 20:07

Anthony Levensalor <anthony@mypetprogrammer.com> wrote:
>
>If it matches, then the filename is no good, ok otherwise
>Test cases:
>
>lib.so - Ok
>tbl_status - Ok
>my file is cool.txt NOT Ok
>\ this- isn't value NOT Ok
>text.c - Ok
>foo - Ok
>superlong_with_underscores.png - Ok
>ILikeTrucks!.jpg NOT Ok

I guess this depends on your definition of "no good". Both "my file is
cool.txt" and "ILikeTrucks!.jpg" are valid file names on both Windows and
Unix.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

[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

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