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:[EMAIL PROTECTED] > Sent: 12 June 2003 12:37 > To: [EMAIL PROTECTED] > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php