How to access system API in php

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
frankmail007
Forum Newbie
Posts: 2
Joined: Sat Aug 15, 2009 11:58 pm

How to access system API in php

Post 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.
frankmail007
Forum Newbie
Posts: 2
Joined: Sat Aug 15, 2009 11:58 pm

Re: How to access system API in php

Post 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.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: How to access system API in php

Post by jackpf »

You'd need to use an active-x control, or a firefox extension or whatever.
Post Reply