Thank you Paul ... thanks a lot for the help
Warm Regards,
Sharad
- Original Message -
From: "Paul Maine" <[EMAIL PROTECTED]>
Date: Wednesday, October 9, 2002 9:00 am
Subject: RE: [PHP] Calling C functions
> I am including a code snippet that will aid you.
>
I am including a code snippet that will aid you.
# Location of your binary.
$yourbinary = "/usr/bin/yourprogram";
# Location of the libs for your c program if needed
$yourlib = YOUR_LIB . ":" . getenv("LD_LIBRARY_PATH");
putenv("LD_LIBRARY_PATH=$yourlib");
# The args to call the binary with
# F
Read README.EXT_SKEL in the source distribution and also the online
manual. There is a chapter on extending PHP.
-Rasmus
On Wed, 9 Oct 2002, Sharad Tiwari wrote:
> hi all,
>
> I have just started working on PHP ... (just a couple of days back)
> I had posted a question yesterday and could not
If it is a command line executable just do:
Notice the backward ` they send it to the shell.
Have fun!!
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Sharad Tiwari [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 9 October 2002 1:07 PM
To
4 matches
Mail list logo