07-19-2011, 07:18 PM
Yes. Here's my upload page code:
Code:
<?php
if ($_POST["name"]=="ADMINUSERNAME") {
if ($_POST["pass"]=="YeahrightImnotgonnaletyouseemyadminpass") {
echo "<form action=\"image_upload_file.php\" method=\"post\"";
echo "enctype=\"multipart/form-data\">";
echo "<label for=\"file\">Graphic:</label>";
echo " <input type=\"file\" name=\"file\" id=\"file\" />";
echo "<br />";
echo "<input type=\"submit\" name=\"submit\" value=\"Submit\" />";
echo "</form>";
}
else echo "<p style=\"color:red;size:20px\"> Incorrect Password </p>";
}
else echo "<p style=\"color:red;size:50px\"> You do not have the credentials to access this page </p>"; ?>