You are here: Re: Why is FTP upload failing? « PHP Programming Language « IT news, forums, messages
Re: Why is FTP upload failing?

Posted by clashers5@gmail.com on 11/14/06 23:28

My php.ini file has an entire section dedicated to file uploads:

-------->>CODE<<--------
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system
default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
-------->>END CODE<<--------

HTH


laredotornado@zipmail.com wrote:
> Thanks. What directives in php.ini am I looking for exactly? THe file
> I was trying to FTP was a little over 1M, so I can see that being a
> potential problem but not sure what the setting to adjust is.
>
> - Dave
>
> Joseph Dougherty wrote:
> > Usually the mistake I end up making is either related to permissions
> > (i.e. the permissions your webserver has to PHP's temporary directory)
> > or related to the file size limitations (as defined in the php.ini file).
> >
> > I would start there. The php.ini file on Linux (and of course this is
> > not true for all ditros) is usually in /etc/php/ or /etc/php4
> >
> > HTH

 

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

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