note 105766 added to function.fopen
| From: | m dot pauselli at ixa dot it | Date: | Tue, 13 Sep 2011 15:31:28 +0000 |
| Subject: | note 105766 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183149@lists.php.net to get a copy of this message | ||
Hi, I've a problem with file_exist or fopen fuction.
I have a nas server and I would like to know if the file exists in the remote server (that is in my
lan).
I try with file_exists and with fopen, but I receive that the file doesn't exist.
If I work in local is ok.
Could you help me?
The string example that I use is:
$handle = fopen($localPath . $nomefile . ".doc", "r");
Example: \\192.168.1.230\Documenti\11852.doc
Thanks a lot
----
Server IP: 69.147.83.197
Probable Submitter: 79.28.17.52
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit -- https://master.php.net/note/edit/105766
Del: integrated -- https://master.php.net/note/delete/105766/integrated
Del: useless -- https://master.php.net/note/delete/105766/useless
Del: bad code -- https://master.php.net/note/delete/105766/bad+code
Del: spam -- https://master.php.net/note/delete/105766/spam
Del: non-english -- https://master.php.net/note/delete/105766/non-english
Del: in docs -- https://master.php.net/note/delete/105766/in+docs
Del: other reasons-- https://master.php.net/note/delete/105766
Reject -- https://master.php.net/note/reject/105766
Search -- https://master.php.net/manage/user-notes.php