0
How code upload image in php.
simple code
2 Answers
+ 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.
+ 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