0

How code upload image in php.

simple code

31st May 2018, 4:28 AM
Junaedi
Junaedi - avatar
2 Respostas
+ 1
Make sure to check the file for a specific type of image or images. If you don't remove malicious files, users (hackers) can just submit malicious upload files and get remote execution on your server which could destroy both your site and your credibility as a programmer. Should only take a little bit to research.
31st May 2018, 6:59 AM
Xpl0it
Xpl0it - avatar
+ 1
1.An HTML form with a browse button to allow the client to choose which file to upload 2.A script to process the upload, validate the file, name it and place it in the file system 3.Lastly a page to advise the client the upload was a success
31st May 2018, 5:08 AM
Andrew Watts
Andrew Watts - avatar