jyy
2021-04-07 5394194396290aa232910a571d6f4ef463a92a6b
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.
?>