Re: [PHP] Running snippets from within PHP

2006-02-02 Thread Richard Lynch
On Tue, January 31, 2006 9:41 pm, Eli wrote: How can I run non-PHP code snippets from within PHP? For example: Is it possible to include a C++ code snippet within PHP and run it as it was a regular include? I know there's a solution using exec() and such, but I want to run the snippets like

[PHP] Running snippets from within PHP

2006-01-31 Thread Eli
Hi, How can I run non-PHP code snippets from within PHP? For example: Is it possible to include a C++ code snippet within PHP and run it as it was a regular include? I know there's a solution using exec() and such, but I want to run the snippets like inline code. -thanks, Eli -- PHP General

Re: [PHP] Running snippets from within PHP

2006-01-31 Thread Chris
Hi, Not sure if this does what you want: http://pear.php.net/package/Inline_C/ Eli wrote: Hi, How can I run non-PHP code snippets from within PHP? For example: Is it possible to include a C++ code snippet within PHP and run it as it was a regular include? I know there's a solution using