I have looked around for a solution and have found several of the same brand, but I can't seem to get an exact solution.
I want the image to display, which, in some sense works-partly. It uploads, but no image is displayed. What is the meaning of this?
Here is my PHP code:
<html><head><tite>PHP Form Upload</title></head><body>
<form method='post' action='login.php' enctype='multipart/form-data'>
Select file: <input type ='file' name='filename' size='10'/>
<input type='submit' value='upload'/>
$name = $_FILES['filename']['name'];
echo "Uploaded image '$name' <br /> <img src='$name' />";
echo "pathway " . $_FILES['filename']['tmp_name'];
move_uploaded_file($FILES['filename']['tmp_name'],$name); should be
Underscore is missing.