the second eye works again... thanks however there is another problem i now get
move_uploaded_file(): falseFailed to Upload
any idea what the problem is.?
$result = move_uploaded_file($HTTP_POST_FILES['$showpic'], '/home/keith/public_html/images/showpics/$filename');
$result = $result ? "true" : "false";
echo "<br>move_uploaded_file(): $result";
if ($result == "false")
{
die("Failed to Upload");
}
is the upload script and
<form action="gallery-add-picture-process.php" method="post" name="form1">
<p><strong> Show Year:</strong>
<input name="showyear" type="text" id="showyear">
</p>
<p><strong>Description:
<input name="description" type="text" id="description" size="50">
</strong></p>
<p><strong>Select Picture:
<input type="file" name="showpic">
is the form - the submit button.
Thanks again