Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Re: Parsing FileName for upload
August 26, 2004, 12:15 pm
rate this thread
Re: Parsing FileName for upload
Well, I've had people post from Linux using Opera.
Using the previous methodology the filename got parsed out.
Using File::Basename everything worked as I would hope.
And it still works from IE and Mozilla on Windows.
The stuff I was able to find about fileparse() stated:
"If you haven't called fileparse_set_fstype(), the syntax is chosen by
examining the osname entry from the Config package according to these
So it appears that fileparse() is correctly identifying at least
Windows and Linux.
I don't know the % of other systems that are likely to use this
utility, but it will be VERY small. The only one that might be worth
identifying specifically is 'Mac'.
And if what I am saying is wrong, I am more than willing to hear why
and adjust things if I can.