How to load OCX file into PHP

Dear Experts,

could you help me, i wanna ask,i had an OCX File,now i want to load this OCX files into PHP,how can i do this action?

regards

Louis
antonius_louisAsked:
Who is Participating?
 
Xyptilon2Connect With a Mentor Commented:
Try using COM:

<?PHP

//create an instance of Windows Media Player
$oMp = new COM("WMPlayer.OCX");

//ejects the first cd-rom on the drive list
$oMp->cdromcollection->item(0)->eject();

?>

Or perhaps these pages are useful to you:
http://php.net/dotnet_load
http://ptalus.blogspot.com

Goodluck!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.