Helius
2021-03-09 8fe37f0f7af3667b60e0f29a1ce8188c08c35bb1
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.
?>