aight i got some basic code banged out. But how do i cause the actual uploading to take place:
page 1:
<?php echo "<form action='imageupload2.php' method='post'>\n\n
<table border=0>\n
<tr><td valign=top align=right>Upload Picture:</td><TD><input type='file' name='attachment'></td><tr>\n
<tr><td></td><td><input type='submit' value='Submit'></td><tr>
</table>\n
</form>";
?>
and page 2 (imageupload2.php)
<?php
$image = current ($HTTP_POST_VARS);
echo $image;
?>
do i simple use the move-uploaded-file function? and if so where?
or is there some upload function?