Hi,
I am uploading a zipfile and i want to copy the file to some other directory i tried like this.
Here is the html code:
But i couldn't copy the zipped file!!!
How can i copy the file and unzip the directory?
I don't want to use any modules!!!
Regards
Archana
I am uploading a zipfile and i want to copy the file to some other directory i tried like this.
Here is the html code:
Code:
<html> <body> <form method='POST' enctype='multipart/form-data' action='/cgi-bin/zip.pl'> File to upload: <input type=file name=upfile><br> Notes about the file: <input type=text name=note><br> <br> <input type=submit value=Press> to upload the file! </form> </body> </html>
Code:
$param=param("upfile");
system("cp $param /var/www/cgi-bin/Other/");
How can i copy the file and unzip the directory?
I don't want to use any modules!!!
Regards
Archana
Comment