Skip to content

Year: 2013

File Upload With PHP

I recently needed to handle a file upload using PHP and was pleasantly surprised by how easy it was. I am sharing my file upload test script below. Create a file named “upload.php” with the following content: <?php {   // Handle GET or POST   if ($_SERVER[’REQUEST_METHOD’] === ‘POST’)…

Leave a Comment