How do i display the image on webpage? It is displaying in the directory i put it in but not on the webpage. This is what i have. I'm looking for a way to "echo" the image into the page. upload.php...

How do i display the image on webpage? It is displaying in the directory i put it in but not on the webpage. This is what i have. I'm looking for a way to "echo" the image into the page. upload.php 500000) { echo "Sorry, your file is too large."; $upload = 0; } // Allow certain file formats if($imageFileType != "jpg" && $imageFileType != "png" && $image Filet yPos != "jpeg" && $imageFileType != "gif" ) {echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed."; $upload = 0; } // Check if $upload is set to 0 by an error if ($upload == 0) {echo "Sorry, your file was not uploaded.” // if everything is ok, try to upload file } else { if (move_uploaded_file($_FILES["fileToUpload"]["typename"], $target file)) { echo "The file ". Base name ($_FILES ["file To Upload"] ["name"]). " has been uploaded."; } else echo "Sorry, there was an error uploading your file.";}}?> Select image to upload:
Nov 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here