I needed to print out these details so thought they might come in handy:
<?php
echo 'Max Upload Filesize: ' . ini_get('upload_max_filesize');
echo '<br />';
echo 'Max Post Size: ' . ini_get('post_max_size');
echo '<br />';
echo 'Number of concurrent file uploads allowed: ' . ini_get('file_uploads');
echo '<br />';
echo 'Memory limit: ' . ini_get('memory_limit');
echo '<br />';
echo 'Max execution time: ' . ini_get('max_execution_time') . ' seconds';
echo '<br />';
echo 'Maximum input time: ' . ini_get('max_input_time') . ' seconds';These will print the following informaiton (more or less):
Max Upload Filesize: 2M Max Post Size: 8M Number of concurrent file uploads allowed: 1 Memory limit: 256M Max execution time: 300 seconds Maximum input time: 60 secondsUseful when trying to see what is causing files to be blocked on certain hosts. Essentially, the lowest value of upload_max_filesize and post_max_size will be the biggest file you can upload. The other variables are also involved.
You Are A life Saver
plz message me on facebook how to change the value of concurrent file uploads
Noaman
Post new comment