Re: Where to put Archive_Tar ?
| From: | Jon Parise | Date: | Thu, 16 Aug 2001 14:21:26 +0000 |
| Subject: | Re: Where to put Archive_Tar ? | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1568@lists.php.net to get a copy of this message | ||
On Thu, Aug 16, 2001 at 10:01:11AM +0200, Vincent Blavet wrote:
> I don't really understand the pb with windows / linux in this case ...
> The code is PHP, called by apache under windows or linux OS.
> I all the time use '/' for path separator and have never see problem on my
> windows PC ...
You can use the DIRECTORY_SEPARATOR constant in place of literal
slashes to always get the correct directory separator for the
given platform.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member