[SOLVED] accessing files across local servers
Posted: Wed Jun 23, 2004 3:35 pm
where "theserver" is a machine other than the one running PHP (under an apache install on a windows box), but accessible through the local network (it is visible, for instance, under the "microsoft windows network" in explorer), an image link of the form:
properly loads the image into the browser.
and yet i can get no command to actually access that file and manipulate it. for instance,
returns either an invalid argument error or the error:
oddly enough, which error comes back seems not to be entirely consistent.
any thoughts?
Code: Select all
<img src = "\\theserver/adirectory/imagefile.jpg">properly loads the image into the browser.
and yet i can get no command to actually access that file and manipulate it. for instance,
Code: Select all
<?php
$fs = fopen("\\\theserver/adirectory/imagefile.jpg","r");
?>Code: Select all
php_network_getaddresses: gethostbynameoddly enough, which error comes back seems not to be entirely consistent.
any thoughts?