MichelM: Probleme mit Upload über Formular

Beitrag lesen

Auch Hallo!

<input type="hidden" name="MAX_FILE_SIZE" value="100000000">

Da gehe ich mal von 100.000.000 = 100 Mill. Bytes aus und das ist etwa 100 MB.
1,4 MB*1024 = 1433,6 KB *1024 = 1468007 Byte
also muss folglicherweise ein Fehler im weiteren ScriptCode sein, z.B. die Teilung von MAX_FILE_SIZE/1024 ??
oder schau Dir mal phpinfo() an, ob da die Dateigrösse begrenzt ist:
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference
 Off Off
allow_url_fopen
 1 1
always_populate_raw_post_data
 0 0
arg_separator.input
 & &
arg_separator.output
 & &
asp_tags
 On On
auto_append_file
 no value no value
auto_prepend_file
 no value no value
browscap
 no value no value
default_charset
 no value no value
default_mimetype
 text/html text/html
define_syslog_variables
 Off Off
disable_functions
 no value no value
display_errors
 On On
display_startup_errors
 Off Off
doc_root
 no value no value
enable_dl
 On On
error_append_string
 no value no value
error_log
 no value no value
error_prepend_string
 no value no value
error_reporting
 2037 2037
expose_php
 On On
extension_dir
 ./ ./
file_uploads
 1 1
gpc_order
 GPC GPC
highlight.bg
 #FFFFFF #FFFFFF
highlight.comment
 #FF9900 #FF9900
highlight.default
 #0000CC #0000CC
highlight.html
 #000000 #000000
highlight.keyword
 #006600 #006600
highlight.string
 #CC0000 #CC0000
html_errors
 On On
ignore_user_abort
 Off Off
implicit_flush
 Off Off
include_path
 .:/usr/local/lib/php .:/usr/local/lib/php
log_errors
 Off Off
magic_quotes_gpc
 On On
magic_quotes_runtime
 Off Off
magic_quotes_sybase
 Off Off
max_execution_time
 30 30
memory_limit
 8M 8M
open_basedir
 no value no value
output_buffering
 4096 4096
output_handler
 no value no value
post_max_size
 3M 3M <--- auch nicht zu verachten ;-)
precision
 14 14
register_argc_argv
 On On
register_globals
 On On
safe_mode
 Off Off
safe_mode_exec_dir
 no value no value
safe_mode_gid
 Off Off
safe_mode_include_dir
 no value no value
sendmail_from
 me@localhost.com me@localhost.com
sendmail_path
 /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i
short_open_tag
 On On
SMTP
 localhost localhost
sql.safe_mode
 Off Off
track_errors
 Off Off
upload_max_filesize
 2M 2M  <---- hier nachsehen !
upload_tmp_dir
 no value no value
user_dir
 no value no value
variables_order
 EGPCS EGPCS
xmlrpc_error_number
 0 0
xmlrpc_errors
 Off Off
y2k_compliance
 Off Off

hoffe, das hilft

Grüssle Michael