Re: Reg Ex
| From: | Warren Windvogel | Date: | Fri, 31 Oct 2008 20:57:59 +0000 |
| Subject: | Re: Reg Ex | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282730@lists.php.net to get a copy of this message | ||
Eric Butera wrote:
...or you could just use pathinfo and be done with it. I work for clients. Clients shouldn't have to read a faq to upload a file.I agree. I assumed that pathinfo simply returned the relative or absolute path of the file. After further inspection I have to stand corrected and agree that using pathinfo is the best approach. I should have probably done some more research when putting together my solution. Asking the list would've been an even better option ;-) . Thats why there's no substitute for experience or better line of work because you learn something everyday. Thanks gentleman. Time for some refactoring. :-D Regards Warren //