From: Vadim Shevchenko Date: 2007-07-31T15:21:37+09:00 Subject: Re: Ruby and PHP code in html-page jzakiya wrote: > On Jul 30, 12:22 pm, John Joyce > wrote: >> >>> I want to include PHP-code. >> > request uri. >> > For counter-system it's bad variant. >> > -- >> > Posted viahttp://www.ruby-forum.com/. >> >> It might be possible to use ERb (Ruby) to insert the PHP. >> 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. > > You may want to look at Erubis. > http://www.kuwata-lab.com/erubis/ With Erubis I can "convert" Ruby-code to PHP. I need to insert PHP-code in Ruby-project. -- Posted via http://www.ruby-forum.com/.