?
Solved

Components??

Posted on 2002-07-09
1
Medium Priority
?
183 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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.
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

770 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