You are here: Re: file upload not saving file « PHP Programming Language « IT news, forums, messages
Re: file upload not saving file

Posted by tim on 12/18/77 11:48

zorro wrote:
> Hello,
> When I upload an image to the server I get the message:
>
> Warning: Only -1 bytes were written, expected to write 547
>
>
> The server phpinfo lists :
>
>
> file_uploads On
> upload_max_filesize 2M
> upload_tmp_dir /tmp


Try using the full path name of /tmp.

I think php is trying to write to the tmp dir in the root directory of
the hard drive not the tmp dir in your home directory

TIm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация