I'm using 'proeder's file attachment V1.2'
The part that checks the file sizes is:
'##### check max file size
strSQL = "SELECT UPLOAD_VALUE FROM " & strTablePrefix & "UPSIZE WHERE UPLOAD_VAR = 'STRUPLOADFILESIZE'"
set rsSize = my_Conn.Execute (strSQL)
strAllowedSize = rsSize("UPLOAD_VALUE")
if bytecount < strAllowedSize then
AllowSize = true
else
AllowSize = false
end if
rsSize.close
set rsSize = nothing
If strAllowedSize < 1024 Then
strAllowedSize = Round(strAllowedSize,2) & " Bytes"
ElseIf strAllowedSize < 1048576 Then
strAllowedSize = Round(strAllowedSize/1024,2) & " KB"
Else
strAllowedSize = Round(strAllowedSize/1048576,2) & " MB"
End If
and I'd be looking to either use the sLev = from the sponsors mod but would have to add in some code to the inc_header_short.asp file so that sLev is recognised, or maybe looking at allowing increased upload limits for certain groups from the Usergroups mod<