Re: Running snippets from within PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 inline code.

I think I also saw something for an Inline Perl module somewhere
sometime.

Another potential option would be to compile your own PHP extension
(just like MySQL, GD, libpdf, etc) and link it in.

There are some good beginner examples at http://talks.php.net for this.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux