for ($count=1; $count<=50; $count++) {$file="tmp/wolf"."$count"; if (filesize($file)<=1) break; } setcookie ("fn", "$file", time()+7200, "/wolf/"); ?>