How can I run/execute this in php based on user input? For example I will let a user define the number, then I want this to be executed X times where X is the number he entered.

PHP Code: 
                if (@write_file($namechr(0), 0)) {
                    
clearstatcache();
                    
printf(lang(381), $html_name);
                    unset(
$list[$v]);
                    
$time filemtime($name); while (isset($list[$time])) { $time++; }
                    
$list[$time] = array('name' => $name"size" => bytesToKbOrMbOrGb(filesize($name)), "date" => $time);
                } 
techdaemon Reviewed by techdaemon on . PHP help! How can I run/execute this in php based on user input? For example I will let a user define the number, then I want this to be executed X times where X is the number he entered. if (@write_file($name, chr(0), 0)) { clearstatcache(); printf(lang(381), $html_name); unset($list); $time = filemtime($name); while (isset($list)) { $time++; } $list = array('name' => $name, "size" => bytesToKbOrMbOrGb(filesize($name)), "date" => $time); } Rating: 5