简体   繁体   English

检测DLL是通过PHP还是Javascript加载的?

[英]Detect if DLL is loaded via PHP or Javascript?

Is there anyway to detect if a DLL is loaded via php (possibly javascript)? 无论如何,有没有检测DLL是否通过PHP(可能是JavaScript)加载的? Specifically, im trying to check if a DLL of a toolbar is loaded or not in php and perform actions based on the result. 具体来说,我试图检查是否在php中加载了工具栏的DLL,并根据结果执行操作。

With PHP? 使用PHP? Certainly not unless it adds itself to the User Agent header. 除非将自身添加到用户代理标头中,否则肯定不会。

With JavaScript? 使用JavaScript? Well that depends on the fact if the toolbar exposes itself to JavaScript or not. 好吧,这取决于工具栏是否将自己暴露给JavaScript。

"Toolbar" sounds like something at the client side, so - no, most likely you will not be able to find out anything about it in the server side. “工具栏”在客户端听起来很像,所以-不,很可能您将无法在服务器端找到有关它的任何信息。 Hence, not through PHP. 因此,不是通过PHP。

JavaScript is also limited to the available API of the DOM. JavaScript还限于DOM的可用API。 If the toolbar does not extend the DOM somehow, you will not be able to find out that it is there. 如果工具栏没有以某种方式扩展DOM,则您将无法找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM