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]
|