Page 1 of 1
How to access system API in php
Posted: Sun Aug 16, 2009 12:14 am
by frankmail007
I'm new to php programming. My question is how I can access system API functions in my php code? I know a few ways such as ActiveX, Java Applet, flash to access system functions. But I'm wondering if there is a better or simple way?
Thanks.
Re: How to access system API in php
Posted: Mon Aug 17, 2009 9:06 pm
by frankmail007
I know I can call c/c++ program by using "system" or "passthru". But I think that will run in server. Meaning, for example, it will show server's mac address if getting mac address function is in a c/c++ program.
Re: How to access system API in php
Posted: Mon Aug 17, 2009 9:39 pm
by jackpf
You'd need to use an active-x control, or a firefox extension or whatever.