- or download this
if (DLBUTTON eq 'DOWNLOADFILE') {
if (PEOPLE LOGIN USING .HTACCESS) {
...
window.open('/downloads/$fileName','_blank','')
//--></script>
};
- or download this
<input type=button value="DOWNLOAD" onclick="window.open('/cgi-bin/SCR
+IPT_NAME?DLBUTTON=DOWNLOADFILE','','')"
- or download this
opendir (DIR, '/html/downloads/');
@files = grep /-output.txt/, readdir (DIR);
...
foreach (@files) {
unlink ("/html/downloads/$_");
}