RE: Not found regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



________________
From: Manoj Singh [manojsingh2121@xxxxxxxxx]
Sent: Monday, August 04, 2008 10:44 AM
To: php-general@xxxxxxxxxxxxx
Subject:  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
ajwei@xxxxxxxxxxx

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux