eFlagRaise Question?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PHPhewstone
Forum Newbie
Posts: 2
Joined: Thu Feb 18, 2010 9:19 am

eFlagRaise Question?

Post by PHPhewstone »

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?

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
%>
 
Post Reply