[FormFields]
WB_AllowMultipart=T
WB_Command=R
[Upload]
WB_Disallow=![jpg,gif]
WB_UploadDir=/examples/upload/
WB_BaseURL=/examples/upload/
WB_Overwrite=F
WB_MaxFSize=102400
WB_UploadLog=upload.log
<!--WB_BeginTemplate-->
<html>
<head>
  <title>$wbif["$wbv[image]"=""|Upload file|File uploaded]</title>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
$wbif["$wbv[image]"=""
|
<form action="$wbe[script_name]" method="post" ENCTYPE="multipart/form-data">
Select file (*.jpg;*.gif - max. 100KB): <input type="file" name="image" size="20"> <input type="submit" name="sButt" value="Upload">
</form>
|
Open uploaded image<br><a href="$wbv[image]" target="_blank">$wbv[image]</a>
]
</body>
</html>