Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working on a website.
#22
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>"; ?>
Reply


Messages In This Thread
Working on a website. - by Qwertygiy - 07-18-2011, 08:56 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)