timprove documentation strings - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d555246e501b789ae6e65b29767ba4a32e5aead9
 (DIR) parent dea692ef0164a4322d2e1f772260c53c4cc4f1a3
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 18 Aug 2015 12:15:48 +0200
       
       improve documentation strings
       
       Diffstat:
         M uploadhistory.php                   |       8 ++++++--
       
       1 file changed, 6 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/uploadhistory.php b/uploadhistory.php
       t@@ -1,5 +1,8 @@
        <?php
       -// write form data to file
       +// uploadhistory.php
       +// Validates form data from pages/history.html and writes a file for the Matlab 
       +// script file_scanner_mcmc_starter.m to read as input for the MCMC inversion.
       +
        if (isset($_POST['sample_id'])) {
            // generate string containing all user input.
            // addslashes adds backslashes before characters that need to be escaped.
       t@@ -18,7 +21,8 @@ if (isset($_POST['sample_id'])) {
            die('Invalid post data sent');
        }
        
       -// redirect user after processing uploaded data, before any output!
       +// redirect user after processing uploaded data, header function call must be 
       +// before any output!
        header("Location: /cosmo");
        
        ?>