Re: [PHP] PHP with C++

2008-06-09 Thread Wolf
R B [EMAIL PROTECTED] wrote: Hi, I have a C++ script containing the function hello(x, y, z) I want to access this C++ function from PHP, and output with PHP the return information. How can i do this? Where's your failing code? STFW:

Re: [PHP] PHP with C++

2008-06-09 Thread Stut
On 9 Jun 2008, at 14:11, R B wrote: I have a C++ script containing the function hello(x, y, z) I want to access this C++ function from PHP, and output with PHP the return information. How can i do this? 1) Buy this book...

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Pavel
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP with C++[Zend Engine?]

2008-06-09 Thread Павел aka [R-K]
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP with C++

2008-06-09 Thread Daniel Brown
On Mon, Jun 9, 2008 at 9:11 AM, R B [EMAIL PROTECTED] wrote: Hi, I have a C++ script containing the function hello(x, y, z) I want to access this C++ function from PHP, and output with PHP the return information. How can i do this? The cheating, quickest, easiest way, would be to write

Re: [PHP] PHP with C++

2008-06-09 Thread Pavel
You wrote: 4) Post questions here if you have problems but be sure you show that you've done 1-3 or we'll ignore you. I read this book and some else,but nothing book helped me in writing Zend - Extension... I'd like to wrote some similar but simplier them Zend Encoder... If you can, help me

Re: [PHP] PHP to C interface?

2005-02-21 Thread N Deepak
On Fri, Feb 18, 2005 at 09:20:02AM -0800, Richard Lynch wrote: Is there a way to invoke C functions in a library (.so) from PHP? Like Xs in Perl? By definition, then, all you have to do is learn how to write a PHP extension, which Rasmus tells you how to do in a one-hour lecture at any

Re: [PHP] PHP to C interface?

2005-02-18 Thread Zareef Ahmed
Hi, Please Visit http://pear.php.net/package/Inline_C may be usefull zareef ahmed On Fri, 18 Feb 2005 01:19:19 -0800, N Deepak [EMAIL PROTECTED] wrote: Hi, Is there a way to invoke C functions in a library (.so) from PHP? Like Xs in Perl? Thanks, Deepak -- N Deepak ||

Re: [PHP] PHP to C interface?

2005-02-18 Thread N Deepak
On Fri, Feb 18, 2005 at 02:56:05PM +0530, Zareef Ahmed wrote: Hi, Please Visit http://pear.php.net/package/Inline_C Thanks very much. Have you tried using it? How mature is it? I found no documentation or installation guide. Best regards, Deepak On Fri, 18 Feb 2005 01:19:19 -0800,

Re: [PHP] PHP to C interface?

2005-02-18 Thread Richard Lynch
N Deepak wrote: Is there a way to invoke C functions in a library (.so) from PHP? Like Xs in Perl? Yes. EVERYTHING in PHP, except for the core syntax of if/else/while can be loaded this way. Many times, it's compiled in static, but you can make most of the modules be shared. By

Re: [PHP] PHP support C++?

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 07:03 am, Kenneth wrote: Hi all, Does PHP support C++ language? If yes, how can it be converted? you can write an extensions, which is actually rather easy to do. There's an article at http://bugs.tutorbuddy.com/phpcpp/phpcpp/ that claims to tell you how to use c++

Re: [PHP] PHP AND C

2002-10-08 Thread Marco Tabini
Passing that many parameters shouldn't be a problem, I think...argv/argc parsing in the standard C library is pretty fast. On Tue, 2002-10-08 at 06:04, karthikeyan wrote: Hi, I want to pass some 10 to 15 parameters as input to an C Program. Does passing it as command line argument