»andy« sagte am 2002-03-18 um 17:00:16 +0100 : > so whats the difference between yours and : > $filename = ereg_replace ("[^a-z^0-9^/.^=^/-]", "", $filename);
You've got quite some ^ to much in there, I'd think. If I understand it correctly, you'd also not remove the ^ character, because you've mentioned this char quite sume times. The ^ has only a special meaning, if it's the 1st character in a [....] group. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED] iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 1 day 6 hours 26 minutes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php