Re: Ruby and PHP code in html-page
- From: John Joyce <dangerwillrobinsondanger@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 01:22:11 +0900
On Jul 30, 2007, at 7:48 AM, Vadim Shevchenko wrote:
Wayne E. Seguin wrote:It might be possible to use ERb (Ruby) to insert the PHP.On Jul 12, 2007, at 09:12 , Vadim Shevchenko wrote:
===========
Main web-server script-language is Ruby.
I want to include PHP-code.
Is it posiible?
Try using SSI for the php code.
SSI works super, but I have such problem:
I want to include in html-file some php-code one of counter-systems
written on PHP.
By using SSI, I must write php-code to some php-file and when this php
will be included, php-script don't know about html-file, about first
request uri.
For counter-system it's bad variant.
-- Posted via http://www.ruby-forum.com/.
And then have the server first process files with Ruby, then with PHP.
Depends on the server. It's ugly, maybe a little slower, but probably possible.
.
- Follow-Ups:
- Re: Ruby and PHP code in html-page
- From: Vadim Shevchenko
- Re: Ruby and PHP code in html-page
- From: jzakiya
- Re: Ruby and PHP code in html-page
- References:
- Ruby and PHP code in html-page
- From: Vadim Shevchenko
- Ruby and PHP code in html-page
- Prev by Date: Re: array.include?
- Next by Date: Re: array.include?
- Previous by thread: Re: Ruby and PHP code in html-page
- Next by thread: Re: Ruby and PHP code in html-page
- Index(es):
Relevant Pages
|
Loading