Re: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
ists.php.net > Subject: [PHP] Re: validating directory and file name with preg_match > > > ""Frank Stanovcak"" wrote in message > news:a8.d6.08436.5cf80...@pb1.pair.com... > > I'm limiting access to certain proceedures based on the file trying > to us

RE: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Boyd, Todd M.
> -Original Message- > From: Frank Stanovcak [mailto:blindspot...@comcast.net] > Sent: Wednesday, January 28, 2009 1:04 PM > To: php-general@lists.php.net > Subject: [PHP] Re: validating directory and file name with preg_match > > > ""Frank Stano

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Frank Stanovcak
""Frank Stanovcak"" wrote in message news:a8.d6.08436.5cf80...@pb1.pair.com... > I'm limiting access to certain proceedures based on the file trying to use > them, and the directory they are located in on my server. Right now I am > using two preg_match statments as you will see. What I want

[PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Al
Frank Stanovcak wrote: I'm limiting access to certain proceedures based on the file trying to use them, and the directory they are located in on my server. Right now I am using two preg_match statments as you will see. What I want to know is this. Is there a way to write a single regex for