This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
unable to upload file by php code.

Hello, I can't upload file , that using php code on this host, can u help me pls.
---- there are 2 my files--------------------
1.---- upload.html ------------------------------

upload script





















 

Upload File

 


 










2.---- upload.php ------------------------------

if ($file1_name != "") {
@copy("$file1" , "c:/inetpub/wwwroot/php/upload/$aa_name") or die("unable to upload.");
echo "
upload file ".$file1_name." successful
";
} else {
die("can not find file");
}
?>