<% if _SESSION["username"] ~= nil and _SESSION["currentpath"] ~= nil then local nowdir = string.gsub(_SESSION["currentpath"],":{{","%[") nowdir = string.gsub(nowdir,"}}:","%]") local zipfile = _POST["zipfile"] or _GET["zipfile"] or nil local srcfiles = _POST["srcfiles"] or _GET["srcfiles"] or nil local bResult,strResult = c_ZipFile(_SESSION["username"],nowdir,zipfile,srcfiles,_SESSION_ID) if bResult == false then print(strResult) end else print("session expired") end %>