wzy
2021-01-13 1a6bfc97c0acfbb386f4e06f6d0a4558c305d994
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.
?>