Running snippets from within PHP
| From: | Eli | Date: | Wed, 01 Feb 2006 03:41:54 +0000 |
| Subject: | Running snippets from within PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229603@lists.php.net to get a copy of this message | ||
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