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'!!!

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

<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><input name="uploadedfile" type="file" class="txtform"></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> 
is there somthing wrong with my code???