Pm, I've just figured out how to get the Upload extension in
ZAP to work how I want. It is very cool. But it
requires a small hack to the upload script to work--one that should not
affect any existing sites. <br><br>Basically, I added an
optional $return parameter to the function, and an if statement just
before the redirect so processing can return to the calling function
rather than doing the upload confirmation screen. Could you
add this change (or something comparable) in the next release?<br><br>
<br>function HandlePostUpload($pagename, $auth = 'upload'<span style="color: rgb(0, 153, 0); font-weight: bold;">, $return = false</span>) {<br> global $UploadVerifyFunction, $UploadFileFmt, $LastModFile, <br> <br>
[[snip]]<br><br><span style="color: rgb(0, 102, 0); font-weight: bold;"><span style="font-weight: bold;"> </span>if ($return == true) return;</span><br> Redirect($pagename,"{\$PageUrl}?action=upload&uprname=$upname&$result");
<br>}<br>
<br>
Cheers<br>
Dan<br>