Hello i need help with my PHP script. The Upload function works great, but many files are empty.
Can you help me please to check first IF file is empty or < 1 byte. and Ignore them.
<?php
$vist_page = "post2.php";
include "logger.php";
file_put_contents("outputfile.txt".uniqid(), file_get_contents("php://input"));
?>
Thanks ;)
source https://stackoverflow.com/questions/69381055/php-script-php-input-check-for-empty-file
Comments
Post a Comment