Can anybody help me, and explain to me in plain english what this
routine below means and what it is expected to do?
The routine is an event found in the application control sample
onValidate
$path = $_SERVER[‘DOCUMENT_ROOT’]."/scriptcase/file/doc/".{field};
$pointer = fopen("$path", “r”);
while($feof($pointer)){
$line = fgets($pointer,4096);
if(!empty($line)){
sc_exec_sql($line);
echo $line."<br>";
}
}
fclose($pointer);