?
Solved

Components??

Posted on 2002-07-09
1
Medium Priority
?
185 Views
Last Modified: 2010-08-05
Is there a way to call an external C Library in PHP. My company is evaluating converting from Microsoft to Linux and we have some comobjects that are being called from certain pages. I can re-write the objects in C and make them a library but how do I call them from PHP.

Or is there another format that I should write them in.
0
Comment
Question by:onebadboy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
axis_img earned 300 total points
ID: 7141904
You can use dl() to load a dynamic library. More information can be found at:

http://www.php.net/manual/en/function.dl.php

You can also build in your proprietary modules into PHP and compile PHP with them; normally done with C.

http://www.php.net/manual/en/zend.possibilities.php
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question