Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
<form method=post enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>">
Image: <input type="file" name="img"><br>
<input type="submit" value="Upload">
</form>
<?
if($_FILES) {
//get some attributes which could be used for error checking
$filesize = $_FILES['img']['size'];
$filetype = $_FILES['img']['type'];
$filename = $_FILES['img']['name'];
$filepath = "yourpathhere/"; //This is where you can enter your own upload path
$filesaveto = "$filepath/$filename";
$filedim = getimagesize($_FILES['img']['tmp_name']);
$filewidth = $filedim[0];
$fileheight = $filedim[1];
// Move the temp upload file to its final location
if(move_uploaded_file($_FILES['img']['tmp_name'],$filesaveto))) {
echo "Upload Sucessful";
}
else {
echo "Upload Failed";
}
}
?>