Re: Re: file read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I faced this problem already but I have fixed the issue by providing proper user 
rights to mounted drive.

In Windows OS, while using Apache server for current user, when you want to 
access a folder or file outside the server root then you must have proper 
permission for the folder or file. Then only you can access the file or folder. 
Otherwise it will raise a warning or notice like file not found.

Check with error_reporting(E_ALL);

 Thanks & Regards
Udayakumar Sarangapani
Chennai.

"Science is nothing but logic..."





________________________________
From: jehovahshaloam <jehovahshaloam@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Fri, 5 November, 2010 12:47:27 PM
Subject:  Re: file read

  

Change the line $file = file_get_contents("P:\\aa.txt");to $file = 
file_get_contents("P:\aa.txt");
--- In php-objects@xxxxxxxxxxxxxxx, "Uzair" <uzair05csmehran@...> wrote:
>
> i mount a drive name P:\
> 
> and want to rear file P:\aa.txt
> but its show s can read file.
> Any one read from network??????
> 
> $file = file_get_contents("P:\\aa.txt");
> 
> doesn't work
> plzzzzzz
>


 



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux