# How to mix php and ruby / rails

**URL:** <https://www.ruby-forum.com/t/how-to-mix-php-and-ruby-rails/161967>\
**Category:** Rails\
**Created:** [March 4, 2009, 11:07am UTC](https://www.ruby-forum.com/t/how-to-mix-php-and-ruby-rails/161967 "2009-03-04T11:07:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravigit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/3d9bf3/32.png) [@ravigit](https://www.ruby-forum.com/u/ravigit)\
**Post date:** [March 4, 2009, 11:07am UTC](https://www.ruby-forum.com/t/how-to-mix-php-and-ruby-rails/161967/1 "2009-03-04T11:07:05Z")

</div>

I have a php web application. I also have a ruby / rails application.  
I want to have the ruby / rails app generate it’s output within a

 section in the php web application. Is this possible?

Normally, you can have a function generate html within a

 section  
because the server generates the html code. So, can I have a ruby /  
rails application send its stuff to the div section in a php based  
site?

Thanks  
ravigit
