Hi, I’ve setup my page to allow upload of pictures (.jpg, .png).
PHP.ini setting already defined UPLOAD_MAX_FILESIZE=20M.
PHPMaker already setup the upload folder to uploads/ with the size limit of 20000000.
The fieldname for my table is filetype and upload folder set to “uploads/”
When I click browse and choose my picture (74k) to upload, it shows the error:
Notice: A non well formed numeric value encountered in C:\xampp\htdocs\cursosporto\uploadhandler.php on line 357
{"files":[{"name":"banner1.jpg","size":74049,"type":"image\/jpeg","url":"http:\/\/localhost\/cursosporto\/ewupload13.php?rnd=1185400569&id=x_imgcarrossel&table=carrossel&x_imgcarrossel=banner1.jpg&download=1","thumbnailUrl":"http:\/\/localhost\/cursosporto\/ewupload13.php?rnd=1185400569&id=x_imgcarrossel&table=carrossel&x_imgcarrossel=banner1.jpg&version=thumbnail&download=1","deleteUrl":"http:\/\/localhost\/cursosporto\/ewupload13.php?rnd=1185400569&id=x_imgcarrossel&table=carrossel&x_imgcarrossel=banner1.jpg&_method=DELETE","deleteType":"POST"}]} \ \ If I were to choose any image file, it´s not works. I´m execute the application in Win10 with XAMP.
What seems to be the problem?