I made a PHP/HTML for uploading file, and it's sorta like this:
Code: Select all
<form name=anexar action=anexar_arquivo2.php enctype="multipart/form-data" method=post onSubmit=return(validar(this));>
<input type=hidden name='MAX_FILE_SIZE' value='30000'>
<input type=file name=arquivo class=text>
<input type=submit value='Ok' class=text>Code: Select all
echo($arquivo);Code: Select all
echo($_FILESї'userfile']ї'name']);Code: Select all
echo($HTTP_POST_FILESї'userfile']ї'name']);Please, this is driving me nuts... any help is much appreciated.
Thanks,
Victor.