Hi,

I am writing a PHP script to upload images and am testing it locally on my machine with Abyss X1 webserver.

The following is currently at the top of the script, so I could see if the file was uploading properly. The thing is, it NEVER prints 'moo'!!!

Code:
if ($uploadedfile) { 
   echo "moo"; 
   }
Here is the form

Code:
<form action="uploadimage.php" method="post" enctype="multipart/form-data"> 
  <table width="100%" border="0" cellpadding="2" cellspacing="0" class="txt"> 
	<tr valign="top"> 
	  <td>File:</td> 
	  <td><input name="uploadedfile" type="file" class="txtform"></td> 
	</tr> 
	<tr> 
	  <td>&nbsp;</td> 
	  <td><input name="textid" type="hidden" id="textid" value="<?=$HTTP_GET_VARS[textid]?>"> 
		<input name="submit" type="submit" class="txtform" id="submit" value="Submit"></td> 
	</tr> 
  </table> 
</form>
is there somthing wrong with my code???

Thanks