Quick question about integrating existing PHP app in Rails

Hi all,
I would like to integrate existing PHP forum into Rails app. Can someone
please advice what would be way to do this? I am thinking about calling
php script with Net::Http sending all GET/POST parameters and printing
output inside of .rhtml template.

Thanks for help,
Bojan M.

Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
→ tools, scripts, tricks from our code lab: http://source.mihelac.org