$WBFULID - upload form ID

Availability
$WBFULID is available for use with all WBSP commands, but it requires WB_FULID variable to be set to TRUE in the configuration section of the same WBSP document.

Syntax
$WBFULID
$WBFULID[]

Returns
Server-side unique form upload ID generated by WhizBase.

Here's an example:

[FormFields]
WB_AllowMultipart=T
WB_Command=R
wb_showlogo=f
wb_timeout=300
WB_FULID=$wbif{"$wbv{image}"=""|t|f}
[Upload]
WB_Disallow=![jpg,gif]
WB_UploadDir=/
WB_BaseURL=/
WB_Overwrite=F
WB_MaxFSize=10485760
WB_UploadLog=upload.log
<!--WB_BeginTemplate-->
<html>
<head>
<title>$wbif["$wbv[image]"=""|Upload file|File uploaded]</title>
</head>
<body>
$wbif["$wbv[image]"=""|< br><form action="$wbe[script_name]" method="post" ENCTYPE="multipart/form-data"onsubmit="document.getElementById('ifrprogress').src='ru.wbsp?fid=$wbfulid[]';">
Select file (*.jpg;*.gif - max. 10MB): <input type="file" name="image" size="20"> <input type="submit" name="sButt" value="Upload">
</form>
<iframe src="" width="300" height="100" id="ifrprogress"></iframe>
|
Open uploaded image<br><a href="$wbv[image]" target="_blank">$wbv[image]</a><br>
]
</body>
</html>
 
For this example you'll need file ru.wbsp that can be found here.
After running this example, WhizBase will upload selected image to the server displaying the progress in an IFRAME.