RE: [PHP-WIN] problem with readfile
| From: | Mikey | Date: | Thu, 12 Jun 2003 11:46:28 +0000 |
| Subject: | RE: [PHP-WIN] problem with readfile | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20291@lists.php.net to get a copy of this message | ||
You need to make sure that the user your web-server is running as has the
correct permissions.
HTH,
Mikey
> -----Original Message-----
> From: Billý Branislav [mailto:billy@spi.sk]
> Sent: 12 June 2003 12:37
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] problem with readfile
>
>
> (my english is not perfect, sorry)
> hello all,
>
> I have big problem, a need to read file on LAN. when I use:
>
> readfile("\\\\tarif\\c\\winatu\\xdata\\200305.atu");
> $php_errormsg;
>
> then will be show this warning:
> Warning: readfile(\\tarif\c\winatu\xdata\200305.atu) [function.readfile]:
> failed to create stream: Permission denied in c:\program files\apache
> group\apache\htdocs\telefon\update.php on line 32
>
> I dont know, where is problem.
> If I want open this file from IE, all is OK.
> I have full rights to sharing directory.
>
> help me, please. thanks
>
>