Re: [PHP] C++, $_POST -> php-cgi

2009-06-10 Thread Simon
I'm working on something similar, here's the pseudo-code of what happens to ensure the PHP script run by my server doesnt see any difference than when it runs under apache or others... Say the php file to execute is "index.php" and it was called from a form post, the form tag also specified GET ar

[PHP] C++, $_POST -> php-cgi

2009-06-08 Thread Jasper
Hi, i'm planning to create a win32 http server that supports cgi. Does anybody see the problem in C++ -source? Php doesn't give any output, but if I don't set the rfc3875 environment variables, all output comes normally (expect post and other variables aren't set). Only what I'm able to set is $_

Re: [PHP] C Bindings?

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 12:50 PM, Henri Cook <[EMAIL PROTECTED]> wrote: > Hi there, > > I want to make a set of PHP bindings for the libvirt(.org) C API. Can > anyone point me to how tos, information or software that would help me along > the way?\ > maybe scope out this book, http://www.amazon.co

[PHP] C Bindings?

2008-07-09 Thread Henri Cook
Hi there, I want to make a set of PHP bindings for the libvirt(.org) C API. Can anyone point me to how tos, information or software that would help me along the way? Thanks, Henri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] C Bindings?

2008-07-09 Thread Henri Cook
Hi there, I want to make a set of PHP bindings for the libvirt(.org) C API. Can anyone point me to how tos, information or software that would help me along the way? Thanks, Henri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] C-style macros?

2007-10-30 Thread khang tran
this may already have been asked before, but i'll ask anyway. is there any way to do C-style macros in PHP? i heard a rumor that PHP6 is gonna support this--can anyone confirm to what degree? thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Jim Lucas
dwa wrote: Hello people, i have a question?? I have an application written in c++ and this throw real time data as udp-pakets all the time (interval 1 min and values in a wrapper like an own protocol are floats and longs). Is there any possibility to catch the udp packets - parse the pakets

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread shiplu
gt; From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 28, 2007 10:08 PM > To: Simon > Cc: php-general@lists.php.net > Subject: Re: [PHP] c++ and php! search for a brigde > > On 8/28/07, Simon <[EMAIL PROTECTED]> wrote: > > > > you can u

RE: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Gevorg Harutyunyan
needed updating second one) I don't know maybe this is very complex, but I would choose this one ;) Best, Gevorg -Original Message- From: David Giragosian [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 28, 2007 10:08 PM To: Simon Cc: php-general@lists.php.net Subject: Re: [PHP] c+

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread David Giragosian
On 8/28/07, Simon <[EMAIL PROTECTED]> wrote: > > you can use sockets in php, they work the same as berkley sockets > you can use system() in php, to call your C++ program (the program > could output html) > in my opinon CGI with C/C++ is obsolete, use php/apache for best results! > > another nice w

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Simon
you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output html) in my opinon CGI with C/C++ is obsolete, use php/apache for best results! another nice way is to have your C++ program independent, outputs its re

[PHP] c++ and php! search for a brigde

2007-08-28 Thread dwa
Hello people, i have a question?? I have an application written in c++ and this throw real time data as udp-pakets all the time (interval 1 min and values in a wrapper like an own protocol are floats and longs). Is there any possibility to catch the udp packets - parse the pakets und show th

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Richard Lynch
On Fri, April 27, 2007 11:00 am, Daniel Brown wrote: > Even beyond the scope of what this small project will be, I was > thinking > (for once!) that it probably will not be too horribly difficult to > incorporate some code into PHP itself that would allow functions such > as > text2wav(), et

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 2:53 pm, Daniel Brown wrote: > As a result of an ongoing thread, I am launching a project that > should > allow users on shared hosting accounts and other restricted Unix-like > hosting systems to utilize text-to-speech synthesis, primarily the > Festival > TTS engine. T

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
Okay, anyone interested in joining the project can subscribe to the official mailing list (sounds fancy!) set up for the project at: http://isawit.com/mailman/listinfo/php-vox I'm looking forward to getting into discussions and debates, and getting the project off the ground. On 4

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Tijnema !
On 4/27/07, Daniel Brown <[EMAIL PROTECTED]> wrote: Even beyond the scope of what this small project will be, I was thinking (for once!) that it probably will not be too horribly difficult to incorporate some code into PHP itself that would allow functions such as text2wav(), et al. After all

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
Even beyond the scope of what this small project will be, I was thinking (for once!) that it probably will not be too horribly difficult to incorporate some code into PHP itself that would allow functions such as text2wav(), et al. After all, the Festival TTS engine itself, which we'll be usin

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread Daniel Brown
That's what I'm going to try to do, Tedd. I'll post updates throughout the day to include the new mailing list address and such (so we're not flooding the PHP list with stuff about a specific project) and other relevant information. On 4/27/07, tedd <[EMAIL PROTECTED]> wrote: At 3:53 PM -04

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-27 Thread tedd
At 3:53 PM -0400 4/26/07, Daniel Brown wrote: Anyone who's interested in jumping on, let me know. We may not create a PHP-based TTS system, but we can do the next best thing. Besides, everything has to start somewhere! Daniel: But of course, you can count me in -- after all, I started thi

[PHP] Re: Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-26 Thread Colin Guthrie
Daniel Brown wrote: >As a result of an ongoing thread, I am launching a project that should > allow users on shared hosting accounts and other restricted Unix-like > hosting systems to utilize text-to-speech synthesis, primarily the Festival > TTS engine. The goal of the project will be to cre

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-26 Thread Daniel Brown
to read that one, but i don't have time for that, but it looks very interesting this. Just count me as in :) I have server running here at my lan, and i use that for development, so i have root access to it :) It's running apache + PHP + MySQL, all compiled from source, i know how to co

Re: [PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-26 Thread Tijnema !
at my lan, and i use that for development, so i have root access to it :) It's running apache + PHP + MySQL, all compiled from source, i know how to compile apps etc in linux. I have experience in programming in various languages, which include the required PHP & C++. You may think that

[PHP] Server-Side Speech --- New Project Discussion (PHP/C++ Developers?)

2007-04-26 Thread Daniel Brown
As a result of an ongoing thread, I am launching a project that should allow users on shared hosting accounts and other restricted Unix-like hosting systems to utilize text-to-speech synthesis, primarily the Festival TTS engine. The goal of the project will be to create a miniature, portable T

Re: [PHP] C Debugger?

2006-04-12 Thread Jochem Maas
Richard Lynch wrote: Can anybody recommend a good C debugger fitting the following criteria: FreeBSD 5.3 command-line based (no X) so far: gdb intuitive enough for a guy who hasn't touched C in 20 years to not fail plays well with PHP source C code/macros er? (coming from a guy that's neve

[PHP] C Debugger?

2006-04-12 Thread Richard Lynch
Can anybody recommend a good C debugger fitting the following criteria: FreeBSD 5.3 command-line based (no X) intuitive enough for a guy who hasn't touched C in 20 years to not fail plays well with PHP source C code/macros installable and runnable by non-root user TIA! -- Like Music? http://l-i

[PHP] C or C++

2004-04-19 Thread Brent Clark
Hi All Just a quick question, is PHP written in C or C++. Kind Regards Brent Clark

Re: [PHP] C++ objects

2003-11-13 Thread Marek Kilimajer
Sreesekhar Palaparthy wrote: Hi, How do i use a class which is implemented in C++ ,to create instances of that class in a PHP file ?? Can i use shared object concept to achieve this ??? Please help me with this problem.Thank You. You need to write a php extension that will wrap the class and

[PHP] C++ objects

2003-11-12 Thread Sreesekhar Palaparthy
Hi, How do i use a class which is implemented in C++ ,to create instances of that class in a PHP file ?? Can i use shared object concept to achieve this ??? Please help me with this problem.Thank You.

[PHP] C-DLL in PHP!

2003-06-24 Thread macs_aut
Dear users, My apologize, but my knowledge in Internet Programming Technologies is very poor (actually it is realy very very poor). Anyway, I have a request to set up WIN CE Terminal Clients for my software product (Written in C/C++). The point is, I do not want to write the whole application on

[PHP] C#

2002-12-05 Thread Wilmar Perez
Hello guys I'm sorry if this message disturbs anyone, I know it is completely off topic. I've been thinking about open a C# mailing list for I hadn't been able to find a good one so far. All I want to know is if there is enough people out there interested in joining such list. I posted this

[PHP] c++ help

2001-10-23 Thread nicolas costes
Hello, this is out of topic but I need some URLs of good C/C++ tutorials/exemples sites ... I really think some of you are former C programmers :) If it is , well, I'm lokking for a good manner to get the IPs of my machine, particularly the one used to get on the internet !!! (something like " # i

[PHP] C-style parameterized macros

2001-09-07 Thread Neil Zanella
Hello, I have noticed that PHP can be used to define constants but not parametrized macros, a feature is is currently lacking. It is possible to use arrays instead with the only disadvantage that array values can be reassigned. I guess this is not a real concern. Does anyone know if parameterize

[PHP] Re: PHP, C++, and LAN

2001-08-01 Thread Keith Jeffery
Why doesn't $dir = opendir("//harp/graphics/"); work anyway? Is this an oversite in the Win32 development of PHP? You're able to do this in Perl. "Keith Jeffery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I'm writing some PHP scripts that

[PHP] PHP, C++, and LAN

2001-08-01 Thread Keith Jeffery
Hello, I'm writing some PHP scripts that will only be used over our local Windows NT/2000 network. I've written a directory browser in PHP, but that only sees the server's local directories/files whereas I would also like to be able to see shared network directories. Since the PHP directory

[PHP] C modules vs PHP module for Apache

2001-05-02 Thread surinder singh
Hi, What are benefits and losses of having a PHP module for apache instead of of a C module if PHP modules are without xml and mysql support. Opinions! - Surinder Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ -- PHP General Mailing List (http://ww

Re: [PHP] C and PHP

2001-04-01 Thread Joe Stump
You might want to look in the PHP source code at the README.EXT_SKEL file for info on how to incorporate that stuff. --Joe On Sat, Mar 31, 2001 at 08:49:30PM +0200, Ft Karras wrote: > Somebody knows if it is possible to link C and PHP? > > I have a C library and need to 'include' with PHP code,

Re: [PHP] C and PHP

2001-03-31 Thread Mukul Sabharwal
you can use shared memory functions to ineract between C and PHP. --- Ft Karras <[EMAIL PROTECTED]> wrote: > Somebody knows if it is possible to link C and PHP? > > I have a C library and need to 'include' with PHP > code, as it does PERL, > is it possible? > > Thanks > > -- > PHP General M

[PHP] C and PHP

2001-03-31 Thread Ft Karras
Somebody knows if it is possible to link C and PHP? I have a C library and need to 'include' with PHP code, as it does PERL, is it possible? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Php C source code

2001-03-15 Thread rui
anyone know were can i have information on how is structured the php C source code, i was poking around but it is very confusing, and lot of files, the things i would like to know is just a simple description on how php reads, parses, and executes php code, when reading from apache or from

Re: [PHP] C vs PHP

2001-02-24 Thread Michael Kimsal
http://www.zend.com/zend/art/under-php4-hood.php and http://www.zend.com/zend/art/ref-count.php are articles that go into a bit more depth on this topic. Maybe not as detailed as you'd like, but they explain a bit more about how/why "PHP does it for you" is a valid reply to your question. Gusta

RE: [PHP] C vs PHP

2001-02-24 Thread James Moore
> As you may know, C does not provide any kind of support for garbage > collection, every thing you want to be done you have to tell (in C) by > yourself. But in PHP i have no ideia about how it manages memory. for > instance: You dont need to worry about mem mangement as PHP does it all for you

[PHP] C vs PHP

2001-02-24 Thread Gustavo Vieira Goncalves Coelho Rios
Hi folks! I am a used C programmer and now my company decide to switch every non performance critical web stuf to php. Since i am just a php beginner i have some questions i could not find anywhere! As you may know, C does not provide any kind of support for garbage collection, every thing you w

Re: [PHP] C++ integration with PHP

2001-02-01 Thread Toby Butzon
Yes, system() waits for the called program to terminate before PHP execution continues, so that should work. However, you may also want to look into building a custom module for PHP so you can call your C functions directly from PHP. Info on the Zend API, building PHP modules in C, etc., is avail

[PHP] C++ integration with PHP

2001-02-01 Thread Zhu George-CZZ010
Does anyone know how to integrate C++ and PHP if there are some data changes between PHP program and C++ program? What I can think about is: in PHP, put the data in a file, and use "system" call to activate the c++ program. After that, let the c++ program to read the data file, and output the