Re: [php-list] File runs on Linux but not Windows

2008-03-14 Thread Wade Smart
Nick Jones wrote: >> 03132008 1604 GMT-6 >> >> If it was my choice it wouldnt be on a Linux system but it isnt my call. >> >> No permission problems. >> Running apache and its under httpd so no problems there. >> >> I thought the slashes go either too. >> >> Wade >> > > > Wade, > > I thought the

Re: [php-list] File runs on Linux but not Windows

2008-03-14 Thread James Keeline
--- Nick Jones <[EMAIL PROTECTED]> wrote: > I thought the backslash "\" is the escape character in PHP. Wouldn't you need > two of them to make this work? > > $lines = file($backupDir.'\\'.$_POST['backupfileName']); > > My $0.02 > -Nick No. Not if it is in "hard" single quotes. Special charac

Re: [php-list] File runs on Linux but not Windows

2008-03-14 Thread Nick Jones
> > 03132008 1604 GMT-6 > > If it was my choice it wouldnt be on a Linux system but it isnt my call. > > No permission problems. > Running apache and its under httpd so no problems there. > > I thought the slashes go either too. > > Wade > Wade, I thought the backslash "\" is the escape c