07-21-2011, 08:46 PM
Code:
if (!$_REQUEST["Admi"]) echo '<a href="login.php">login</a> is needed to use this page.';
if ($_REQUEST['Admi']);
{
echo '<form action="upload_file.php" method="post"enctype="multipart/form-data">';
echo '<label for="file">Filename:</label>';
echo '<input type="file" name="file" id="file" />';
echo '<br />';
echo '<input type="submit" name="submit" value="Submit" />';
echo '</form>';
}
It does say "login is needed to use this page", but it also echos the form...