eFlagRaise Question?
Posted: Thu Feb 18, 2010 9:24 am
I want to be-able to click a button that will Raise a Flag. However i have only come accross the asp version. (See below.)
Can i either change the code to PHP or include this asp script into a PHP webpage?
Can i either change the code to PHP or include this asp script into a PHP webpage?
Code: Select all
<%
Dim status
set FlagObj = Server.CreateObject("e-Work.RaiseFlag_Control")
FlagObj.Server =Request.Form("EworkServer")
FlagObj.Folder = Request.Form("Folder")
FlagObj.FlagName = Request.Form("FlagName")
FlagObj.Data = Request.Form("FlagData")
status = FlagObj.RaiseFlag
if status=True then
Response.Write("Flag was raised")
else
Response.Write("RaiseFlag failed. Error Message" + FlagObj.ErrorMessage)
end if
%>