Run a php script in ruby on rails

后端 未结 4 921
长情又很酷
长情又很酷 2020-12-19 16:15

In one of my Rails application I need to execute a PHP file from the Controller of Ruby on Rails app. The PHP file meant for some database editing.

The php file loca

4条回答
  •  一生所求
    2020-12-19 16:42

    If you want to talk to the process in some way, use IO.popen("php

提交回复
热议问题