Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if file empty php

  if(filesize("path/to/file") == 0){
    print "File is empty";
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #file #empty #php
ADD COMMENT
Topic
Name
5+3 =