Re: Help with file upload

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

 



On Thu, 2003-10-16 at 07:14, John W. Holmes wrote:
> Bunmi Akinmboni wrote:
> 
> > Warning: move_uploaded_file(./ayservenet.jpg): failed to open stream: 
> > Permission denied in /home/ayserve/public_html/fu/fuprocess.php on line 6
> 
> PHP runs as the web server and it does not have permission to write to 
> the current directory. If you're using IIS, PHP runs as the 
> IUSR_<computer_name> user.

And how is it by running Linux. I've a similar problem with my provider
in uploading files via php. The permissions in the html-subdir are set
that all persons have write-permissions.

At the moment I work with a workaround that by using email to transfer
the file to me to be uploaded via ftp. But the way should be that the
user should be able to upload a file by himselve via PHP.

Regards,
Ruprecht

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux