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

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


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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.