Re: [PHP] Apache to compile PHP and Ruby languages in the same document?

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

 



Don't know, but it doesn't make sense to me -- Apache executes scripts based on the file extension, how can it process both languages?

A possible work around would be to have the Ruby program exec()'d within PHP.

Alternately, do Ruby pages, but embed PHP as PHP is presently embedded in HTML with opening closing tags. How you tell Ruby to exec the PHP I don't know.

Miles


At 12:19 PM 6/11/2003 -0500, you wrote:
Hello,

        I'm trying to create one document with PHP and Ruby scripts in
the same document.  Is this possible?  I've tried to configure mod_ruby
to compile php documents as well but when I do that PHP doesn't work.
Is it possible to have 2 languages in the same document?

-- Keith


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


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux