Ignore:
Timestamp:
Sep 29, 2009, 12:13:35 PM (12 years ago)
Author:
Matthäus Wander
Message:

testing slightly adapted download php

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/CrypCurrentVersionDownload/test-index.php

    r600 r601  
    1 <html>
    2 <head>
    3  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    4  <meta http-equiv="refresh" content="1; URL=http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v2.0.3554b(beta).msi">
    5 </head>
    6 <body>
    71<?php
    82$config_file = 'CurrentVersion.txt';
     
    2216    }
    2317    fclose($fp);
    24 } else echo "No such file: " . $config_file;
     18} else {
     19        echo "<html><body>No such file: " . $config_file . "</body></html>";
     20        exit(1);
     21}
    2522
    2623?>
     24
     25<html>
     26<head>
     27 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
     28 <meta http-equiv="refresh" content="1; URL=http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v<?php echo $config_values['version'];?>.msi">
     29</head>
     30<body>
     31
    2732If your download doesn't start now, click <a href="<?php echo 'http://cryptool2.vs.uni-due.de/downloads/program/curversion/CrypTool-Setup-v' . $config_values['version'] . '.msi';?>">here</a>.
    2833
Note: See TracChangeset for help on using the changeset viewer.