OK, im trying to make a php script that will upload something to whatever webserver it is im hosted on (currently ripway, trap17 soon) i was just wondering if trap17 will work with it?
im not very good with php yet, so im not sure what could be going wrong :S
anyways, what i have so far is this
CODE
<?php
if ( move_uploaded_file ($_FILES['uploadFile'] ['tmp_name'],
"../uploads/{$_FILES['uploadFile'] ['name']}") )
{ print '<p> The file has been successfully uploaded </p>';
}
else
{
switch ($_FILES['uploadFile'] ['error'])
{ case 1:
print '<p> The file is bigger than this PHP installation allows</p>';
break;
case 2:
print '<p> The file is bigger than this form allows</p>';
break;
case 3:
print '<p> Only part of the file was uploaded</p>';
break;
case 4:
print '<p> No file was uploaded</p>';
break;
}
}
?>
it doesnt throw any errors, but it also doesnt upload anything that i can tell.
help plz?

