________________
From: Manoj Singh [EMAIL PROTECTED]
Sent: Monday, August 04, 2008 10:44 AM
To: php-general@lists.php.net
Subject: [PHP] Not found regex

Hello All,
I have to create the regular expression to allow all the file extensions
except the specified extension.

Suppose I want to allow extensions with php, so the regex is: ^.+\.php$

But here i need the regex which allows all the extensions except php.

Maybe you can do a if statement that says if it maches the regex you provided 
above, then print the error? If else, do whatever it is supposed to do?
Hope this helps.

I will appreciate any help.

Best Regards,
Manoj Kumar Singh


======================================================
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to