TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-09-2008, 10:31 AM   #1 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Help PHP How to load a COM/DLL file

Hi,
How can i load a COM/DLL file in PHP?
Thanks for help.
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 09-11-2008, 07:48 AM   #2 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

You can load COM objects using the com extension:
PHP: COM - Manual

For DLL's the only thing I see is to use the w32api extension to use the Windows API on a dll:
PHP: W32api - Manual

And for .NET you can either look at the COM documentation or this page:
PHP: .NET - Manual
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
The Following User Says Thank You to Kalle For This Useful Post:
Yoosha (09-11-2008)
Old 09-11-2008, 06:29 PM   #3 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Default

Thanks Kalle. This is : PHP: W32api - Manual.
But i PHP cant load php_w32api.dll!
?
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 09-11-2008, 08:20 PM   #4 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

What do you mean? You can't load it in your php.ini or?
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 09-12-2008, 04:53 PM   #5 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Default

Apache error: Can not load/found php_w32api.dll...
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 09-12-2008, 05:52 PM   #6 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

If your using PHP 5.3 I can compile you a copy for Windows since I only got a 5.3 build envoriment setup.

I spoke to the devs and it didn't seems to be available for 5.2.x unless you compile it yourself.
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 09-13-2008, 05:22 AM   #7 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Default

5.2.6 :(...
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 04:44 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design