Solved

Components??

Posted on 2002-07-09
1
175 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
1 Comment
 
LVL 7

Accepted Solution

by:
axis_img earned 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now