Help for this page

Select Code to Download


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