Helius
2021-04-06 30c2ee7f4e4404063f99b7d6b8d05e5d4cd51e21
1
2
3
4
5
6
7
8
9
<?php
    // The Demos don't save files
 
    if (isset($_FILES["resume_file"]) && is_uploaded_file($_FILES["resume_file"]["tmp_name"]) && $_FILES["resume_file"]["error"] == 0) {
        echo rand(1000000, 9999999);    // Create a pretend file id, this might have come from a database.
    }
    
    exit(0);    // If there was an error we don't return anything and the webpage will have to deal with it.
?>