[PHP] PHP with C++

2008-06-09 Thread R B
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? Thank you.

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: http://www.google.com/search?q=PHP%3A+C%2B%2Bie

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... http://www.amazon.com/dp/067232704X?tag=libssh2projec-20camp

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

[PHP] PHP to C interface?

2005-02-18 Thread N Deepak
Hi, Is there a way to invoke C functions in a library (.so) from PHP? Like Xs in Perl? Thanks, Deepak -- N Deepak || http://www.ndeepak.info/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] PHP support C++?

2004-03-08 Thread Kenneth
Hi all, Does PHP support C++ language? If yes, how can it be converted? The case is, I've use C++ to make a function (to get data from file and convert it from char type to int type), how can i import the function/variables and use it in PHP? Thanks, Kenneth -- PHP General Mailing List (http

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

[PHP] PHP AND C

2002-10-08 Thread karthikeyan
Hi, I want to pass some 10 to 15 parameters as input to an C Program. Does passing it as command line argument through PHP using backquotes or system function is an effective way to solve this issue or there are some other alternative which does this without affecting the performance.

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

[PHP] PHP 4.1.1, c-client-2001a and cyrus-imapd

2002-02-19 Thread 2147483647
to plaintext authentication. Is there a way to say php/c-client to use plaintext authentication??? At the same time when I use php4.0.4pl1 with cclient-2001a it works fine. Is it problem of PHP4.1.1? Should we downgrade to PHP4.0 and c-client-2000a? Thanks in advance, Pavel. -- PHP General Mailing