Detect if DLL is loaded via PHP or Javascript?
Is there anyway to detect if a DLL is loaded via php (pos开发者_如何学运维sibly 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.
With PHP? Certainly not unless it adds itself to the User Agent header.
With JavaScript? Well that depends on the fact if the toolbar exposes itself to JavaScript or not.
"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.
JavaScript is also limited to the available API of the DOM. If the toolbar does not extend the DOM somehow, you will not be able to find out that it is there.
精彩评论