| | |
Mp3 file upload problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#21 Nov 5th, 2009
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#22 Nov 5th, 2009
•
•
•
•
Does it solve your problem..you can supress any warning with prefixing '@' to the function like @ini_set(), eventhough i never recommend doing that.
hi sir,,
after fix the @ini_set ,also i m getting the same warning...
Is there any other method to upload audio files?..because it takes around 4 to 5 mins...
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#23 Nov 5th, 2009
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#24 Nov 7th, 2009
•
•
•
•
very strange actually using @ should suppress warning if any.
hi...
somebody help me regarding this warning....
the code runs some time..after some time it display warning...
•
•
•
•
PHP Warning: POST Content-Length of 9484737 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Thanks in Advance............
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#25 Nov 7th, 2009
•
•
•
•
hi...
somebody help me regarding this warning....
the code runs some time..after some time it display warning...
is there any problem with execution time? ...
Thanks in Advance............
So you need to set this variable to the higher value too, in the similar way i told you set the max_file_upload.
PHP Syntax (Toggle Plain Text)
$new_limit = '10Mb'; ini_set('post_max_value',$new_limit);
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#26 Nov 7th, 2009
•
•
•
•
since you carrying the lots of data in post, your default value of '8Mb' for "post_max_value" is exceeded.
So you need to set this variable to the higher value too, in the similar way i told you set the max_file_upload.
PHP Syntax (Toggle Plain Text)
$new_limit = '10Mb'; ini_set('post_max_value',$new_limit);
still i m getting the same warning....
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#27 Nov 7th, 2009
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#28 Nov 7th, 2009
•
•
•
•
are you using the $new_limit variable more than once.
post your code , to what value you setting those variables now
Hi
this is my code...
PHP Syntax (Toggle Plain Text)
error_reporting(E_ALL^E_NOTICE); $new_size = '50M'; @ini_set('upload_max_filesize',$new_size); $new_limit = '20Mb'; @ini_set('post_max_value',$new_limit);
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
•
•
•
•
Hi
this is my code...
PHP Syntax (Toggle Plain Text)
error_reporting(E_ALL^E_NOTICE); $new_size = '50M'; @ini_set('upload_max_filesize',$new_size); $new_limit = '20Mb'; @ini_set('post_max_value',$new_limit);
PHP Syntax (Toggle Plain Text)
PHP Warning: POST Content-Length of 9484737 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Increase it to fare enough as -
PHP Syntax (Toggle Plain Text)
$new_limit = '100M';
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Aug 2008
Posts: 161
Reputation:
Solved Threads: 6
0
#30 Nov 9th, 2009
•
•
•
•
If the warning as below -
it mentions that your post carries 9484737 bytes i.e. 9.04535MB of data.So setting new_limit to the 50MB is still not enough.PHP Syntax (Toggle Plain Text)
PHP Warning: POST Content-Length of 9484737 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Increase it to fare enough as -
PHP Syntax (Toggle Plain Text)
$new_limit = '100M';
HI Sir,
this is my code...still i got the same warning....i tried to upload 7.9 MB..its uploaded...but for 8.3 MB..its not working...
PHP Syntax (Toggle Plain Text)
$new_size = '100M'; $new_limit = '100M'; @ini_set('post_max_value',$new_limit); @ini_set('upload_max_filesize',$new_size);
i saw in many sites(tutorials)...every where having same asnwer wat u told....dont know wat to do...any other way????
Thanks in advance...
Last edited by sarithak; Nov 9th, 2009 at 3:09 am.
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Keep Smiling....Never Depress
![]() |
Similar Threads
- problem with the file upload dialog (C#)
- File upload problem (PHP)
- File Upload Servlet problem (JSP)
- file upload script for music files and video files (PHP)
- File upload - advanced help (PHP)
- file upload code.....need attention (PHP)
- File upload problem (PHP)
Other Threads in the PHP Forum
- Previous Thread: Google pagerank and alexa php style stats on domain pages..
- Next Thread: radiobutton with textarea
Views: 1538 | Replies: 39
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date datepart directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql oop parse password paypal pdf php problem query radio random recursion regex remote script search select seo server sessions sms soap source space speed sql structure syntax system table tutorial update updates upload url validation validator variable video web webdesign xml youtube





