not able to upload more then 2 mb of file in php
i m using post method

Recommended Answers

What's your question then? How do you upload bigger files? You can change the settings in your PHP ini file. You'll need to look for upload_max_filesize and post_max_size

Jump to Post

All 2 Replies

What's your question then? How do you upload bigger files? You can change the settings in your PHP ini file. You'll need to look for upload_max_filesize and post_max_size

either run this and there check the size of upload_max_filesize http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize

<?php
phpinfo();
?>

Or you can check it in config file of php php.ini . Check the size,if you want to change it,directly change the size there.

Also there is restrictions on maximum number of files allowed to upload.So if you want to change that also then change max_file_uploads in php.ini

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.