if ($action) {
?>
file upload report
file upload report
- File:
- echo $name;?>
- Comment:
- echo $comment;?>
echo "
n";
if ($fp=fopen($name, "r")) {
while ($line=fgets($fp,500)) {
// convert HTML special characters to HTML printable versions
$line=htmlspecialchars($line);
echo "$line";
}
fclose($fp);
}
echo "
n";
echo "
Upload anothern";
exit;
}
?>
file upload test
file upload test
Choose a file to upload:
Note: you can upload any type of file BUT since
this program will show you the file, please submit only
ascii text files.