there are two lines having that pattern you mentioned. wonder which one you are having the problem with. or if you are having the problem with both.
but I just have some note concerning the second one
PHP Code:
$pattern = "(\.txt$)| (\.php$)| (\.html)| (\.html)";
wonder what is the point you write \.html two times. also wonder why there is no $ sign in the end of .\html while there is one with both txt and php patterns.
may be fixing these things would fix the problem or at least clear up the problem
btw. patterns may work with some php series and doesn't work with the other one. you should also make sure your hosting didn't change php version or something.
Last edited by nayes84; 05-11-2009 at 10:01 AM..
|