Re: [PHP] reading pre-extension file

2002-12-12 Thread Justin French
Does it HAVE to be done with a regexp? You'd have to do a test to see which is quicker (regexp or this method), but I *think* this would be quicker. Better still, it's "future proof" by working for a.file.with.more.than.two.dots :) Cheers, Justin on 12/12/02 4:40 AM, Luca ([EMAIL PROTECTE

Re: [PHP] reading pre-extension file

2002-12-12 Thread Ernest E Vogelsinger
At 18:40 11.12.2002, Luca spoke out and said: [snip] >How to read "pre-extension" of file with regular expression? >Example: name.preextension.doc > >I need to read "preextension" [snip] Assuming that "preextension" i

[PHP] reading pre-extension file

2002-12-12 Thread Luca
How to read "pre-extension" of file with regular expression? Example: name.preextension.doc I need to read "preextension" Tanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php