Ah, that'll teach me to actually read the post next time, not just the code :)
Danny. ----- Original Message ----- From: "Michael Sims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 2:02 PM Subject: Re: [PHP] Dos Paths On Wed, 10 Jul 2002 13:56:39 +0100, you wrote: Yeah, I mentioned that in my original post (see below). I left that particular issue as an exercise for the reader. :-) >----- Original Message ----- >From: "Michael Sims" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, July 10, 2002 1:48 PM >Subject: Re: [PHP] Dos Paths [...] >One last thing. You can't really create a function like this without >accessing the filesystem that these files are going to be stored on. >For example, let's say you have a file called "my resume.doc" The DOS >equivalent to this would be "myresu~1.doc" UNLESS there was already >another file in the same directory that had that DOS name. So, let's >say there was already another file by the name of "my results.doc" in >the directory. Then your "my resume.doc" would be called >"myresu~2.doc" The function below does not account for this. [...] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php