PhoenixDown
Programmer
I'm still new at this and I can't get it to work. I'm using PHP 4.2:
Warning: Unable to open '' for reading: Permission denied in c:\appserv\ on line 907
Couldn't copy the file!
echo "<form enctype=\"multipart/form-data\" name=\"theform\" action=\"index.php\" method=\"post\">";
echo "<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"15728640\">";
echo "<input type=\"file\" name=\"backup\" size=\"30\" maxlength=\"150\">";
copy($_FILES['backup']['tmp_name'], "C:\\AppServ\\www\\admin\\backups".$_FILES['backup']['name']) or die("Couldn't copy the file!"
;
Please help me out. Thanks.
Warning: Unable to open '' for reading: Permission denied in c:\appserv\ on line 907
Couldn't copy the file!
echo "<form enctype=\"multipart/form-data\" name=\"theform\" action=\"index.php\" method=\"post\">";
echo "<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"15728640\">";
echo "<input type=\"file\" name=\"backup\" size=\"30\" maxlength=\"150\">";
copy($_FILES['backup']['tmp_name'], "C:\\AppServ\\www\\admin\\backups".$_FILES['backup']['name']) or die("Couldn't copy the file!"
Please help me out. Thanks.