I am using following code for increase uploaded file size in php but it is not working.and I want to change the file size without using php.ini file and .htaccess
file.
ini_set('post_max_size', '500M');
ini_set("upload_max_filesize",'500M');
echo("<br>".ini_get('upload_max_filesize')."<br>");