Code: Select all
<input type="hidden" name="xmode" id="xmode" value="2">
<input type="hidden" name="pbmode" id="pbmode" value="2">
Code: Select all
modes =>
{
1 =>
{
# Directory for uploaded files
target_dir => '/home/www/web2/html/uploads/',
# URL to send all input values from upload page
#url_post => 'http://sds:8071/cgi-bin/UPLOAD2/post2.cgi',
url_post => 'http://www.abc.net/uploader/post.php',
# Max number of upload fields
max_upload_files => 5,
# Minimum/Maximum Total upload size limit in MBytes (empty or zero to disable)
min_upload_size => 0,
max_upload_size => 500,
# Minimum/Maximum upload Filesize limit in Mbytes (empty or zero to disable)
min_upload_filesize => 0,
max_upload_filesize => 20,
# Allowed file extensions delimited with '|'
# Use '.*' to allow all extensions
#ext_allowed => 'jpg|jpeg',
ext_allowed => '.*',
# Not Allowed file extensions delimited with '|'
# Leave it blank to disable this filter
ext_not_allowed => '',
},
2 =>
{
target_dir => '/home/www/web1/html/intern/fiches/',
url_post => 'http://www.dfg.net/fiches/post.php',
max_upload_files => 5,
min_upload_size => 0,
max_upload_size => 500,
min_upload_filesize => 0,
max_upload_filesize => 20,
ext_allowed => '.*',
ext_not_allowed => '',
},
},
No settings of mode number 2 are being considered (nor for upload nor for post-redirect)
whats wrong?