Solved

Components??

Posted on 2002-07-09
1
173 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

760 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

18 Experts available now in Live!

Get 1:1 Help Now