Re: [PHP] Reg Ex
- From: jochem@xxxxxxxxxxxxx (Jochem Maas)
- Date: Fri, 31 Oct 2008 15:03:36 +0100
Eric Butera schreef:
On Fri, Oct 31, 2008 at 9:09 AM, Warren Windvogel
<wwindvogel@xxxxxxxxxxxx> wrote:
Eric Butera wrote:
Who says every file will have an extension? Who says they're all .+3I've also run into that problem in the past. The way that I could work
chars? When I first started php I tried that and it failed in a lot
of places.
around all these issues was to document naming conventions for the files and
validate these before using the regex to obtain the necessary information.
Regards
Warren
...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.
no. they generally believe that when they upload a CSV file in a field
very clearly marked "upload your FLASH file here" things should just work :-)
.
- Follow-Ups:
- Re: [PHP] Reg Ex
- From: "Eric Butera"
- Re: [PHP] Reg Ex
- References:
- Reg Ex
- From: "Kyle Terry"
- Re: [PHP] Reg Ex
- From: Stut
- Re: [PHP] Reg Ex
- From: "Kyle Terry"
- Re: [PHP] Reg Ex
- From: "Eric Butera"
- Re: [PHP] Reg Ex
- From: Warren Windvogel
- Re: [PHP] Reg Ex
- From: "Eric Butera"
- Reg Ex
- Prev by Date: Re: [PHP] Mailing lists
- Next by Date: Re: [PHP] Mailing lists
- Previous by thread: Re: [PHP] Reg Ex
- Next by thread: Re: [PHP] Reg Ex
- Index(es):
Relevant Pages
|