note 76194 added to function.file-exists

From: Date: Wed, 04 Jul 2007 16:13:23 +0000
Subject: note 76194 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-128226@lists.php.net to get a copy of this message
If you are trying to access a Windows Network Share you have to configure your WebServer with enough permissions for example: $file = fopen("\\siscomx17\c\websapp.log",'r'); You will get an error telling you that the pathname doesnt exist this will be because Apache or IIS run as LocalSystem so you will have to enter to Services and configure Apache on "Open a session as" Create a new user that has enough permissions and also be sure that target share has the proper permissions. Hope this save some hours of research to anyone. ---- Server IP: 69.147.83.197 Probable Submitter: 201.122.36.156 ---- Manual Page -- http://www.php.net/manual/en/function.file-exists.php Edit -- https://master.php.net/note/edit/76194 Del: integrated -- https://master.php.net/note/delete/76194/integrated Del: useless -- https://master.php.net/note/delete/76194/useless Del: bad code -- https://master.php.net/note/delete/76194/bad+code Del: spam -- https://master.php.net/note/delete/76194/spam Del: non-english -- https://master.php.net/note/delete/76194/non-english Del: in docs -- https://master.php.net/note/delete/76194/in+docs Del: other reasons-- https://master.php.net/note/delete/76194 Reject -- https://master.php.net/note/reject/76194 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128226) next »