How can I made an image uploading form input section so that it takes the image from user's pc and mail it to me as image! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I made an image uploading form input section so that it takes the image from user's pc and mail it to me as image!

When we type: <input type="file" accept="image/* required/> It only gets the file name and mails us the name of the image file I an asking a way so that it uploads the image and mail the .jpg file Plzzzzzzz replt fast if anyone knows

21st Feb 2019, 5:36 PM
Rayyan Nafees
Rayyan Nafees - avatar
4 Answers
+ 2
//Check out w3schools example for it👍👍 https://www.w3schools.com/php/php_file_upload.asp
21st Feb 2019, 5:46 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Make sure to ad "url" to it. It's not an actual url code you literally need to put in "url" for it to work.
21st Feb 2019, 7:38 PM
Jake Serrano
Jake Serrano - avatar
+ 2
Jake Serrano could you send the code of how to do it bro ? Pzzzzz...
30th Mar 2019, 7:20 AM
Rayyan Nafees
Rayyan Nafees - avatar
+ 1
Can't you?
8th Jun 2019, 5:22 PM
Rayyan Nafees
Rayyan Nafees - avatar