What is the proper PHP syntax to post a file that exists in a directory that's on the server?
        Posted  
        
            by ggg
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ggg
        
        
        
        Published on 2010-03-29T20:38:43Z
        Indexed on 
            2010/03/29
            20:43 UTC
        
        
        Read the original article
        Hit count: 448
        
This is a basic post form in PHP that loads from the client PC. What is the proper syntax to load from a directory on the server?
<form enctype="multipart/form-data" action="index.php?option=com_productionparse" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="90000000000" /><br />
Choose a file to upload: <input name="file" size=120 type="file" /><br />
<input type="submit" value="Upload File" />
</form>
        © Stack Overflow or respective owner