Posted by Erwin Moller on 11/28/05 18:27
Alan wrote:
> Running PHP5 with IIS on a Win2K Server
>
> whenever I try file_exists() on a file in a windows share on another
> server I get a response of False - I can't open the file or do anything
> with it. I'm sure the filename/path is Ok
>
> $filename=
> '//print-admin/Public$/planningprepress/planning/prepresslist.xls'
>
> I've tried replacing all the '/' with chr(92) to no avail. The only
> info I have found so far simply says that for Windows shares to use
> //server/share/file which is what I have and the folder/file are
> accessible by everyone.
> What am I missing ?
Hi,
Did you try escaping?
I am not sure if it helps, but give it a try.
like:
$filename='\/\/print-admin\/Public\$/planningprepress/planning/prepresslist.xls';
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|