Oki here is a stripped version of the phpscript:
PHP Code:
<?php
$file = fopen("formsaved.html", "w") or exit("Unable to open file!");
function board($number) {for ($num=1; $num<=10; $num++ )
{
return "test";
} }
$stringData =
'
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form" name="form" method="post" action="writeform.php">
<table width="610" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">'.board(5).'</td>
</tr>
</table>
</form>
</body>
</html>
'
;
fwrite($file, $stringData);
fclose($file);
header("Location: formsaved.html");
?>
Bookmarks