I am making a website using profile picture uploader in the beginning i thought it was working great but yesterday i photographed some photos with my Camera which is a Sony DSC-h400 and it has 20MegaPixels in image quality after that i tried to upload it to my localhost website using PHP uploading script,well it didn't work and then i tried with the w3schools.com PHP Upload Script but it always give me this error :
Warning: getimagesize(): Filename cannot be empty in D:\xampp\htdocs\tests\upload_img_w3c\upload.php on line 8
File is not an image.Sorry, only JPG, JPEG, PNG & GIF files are allowed.Sorry, your file was not uploaded.
NOTE : I tried with the low quality .jpeg .jpg images (133Ko) But not working either,and i searched in google for an error similar to this but it looks like I'm the only one.
NOTE 2 : The high quality image size was 6.44 MB.
I would appreciate any help even if it's not working.