to the end of this line $imgstring = $imgstring . ""; } print "
$imgstring"; exec("rm -rf $counterFile"); exec("echo $num > $counterFile"); } if (!file_exists($counterFile)) { exec("echo 1 > $counterFile"); } displayCounter($counterFile); ?>