Re: Dos Paths

From: Date: Wed, 10 Jul 2002 13:53:30 +0000
Subject: Re: Dos Paths
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-106798@lists.php.net to get a copy of this message
Ah, that'll teach me to actually read the post next time, not just the code :) Danny. ----- Original Message ----- From: "Michael Sims" <mhsims@midsouth.rr.com> To: <php-general@lists.php.net> 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" <mhsims@midsouth.rr.com> >To: <php-general@lists.php.net> >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. [...]

« previous php.general (#106798) next »