+ 2
How do add a form that upload images and stores visitors data?
2 Answers
+ 2
to upload images its only possible on web version of sololearn or in web browser using scripts and to save visitors date first you need to have a good knowledge on SQL database and php
+ 2
Hello, Michael Lourtey !
here is a simple php example
$files = $_FILES["fieldname"];
$type = $files['type'];
$size = $files['size'];
$imgPath = $files['tmp_name'];
header('http/1.1 200 ok');
header('Content-Type:'.$type);
header('Content-Length: ' . $size);
readfile($imgPath);
https://www.quora.com/How-can-we-display-an-uploaded-image-on-a-page-in-PHP-before-it-is-stored-to-the-database