wzy
2021-01-24 4a8816e936399ef2085c06ebd40a20fe0e49afdb
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.
?>