我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Ruby和PHP在一起

I know PHP well but I'm new to Ruby on Rails, I am about to learn it.

The thing is that I would like to have PHP code inside Ruby code, or something similar to this. Could there be a way to do that, even if it's hard to achieve ?

You can invoke PHP interpreter from inside Ruby as an external command, whether with system, backticks, popen3 or another mechanism. But why would you want that?

近期文章

  • URL重写目录名称[关闭]
  • PHP日期和时间选择框
  • PHP简单的功能不起作用
  • 将javascript数组发送到控制器并加载视图[关闭]
  • 从lat和long获取邮政编码[重复]
  • 借助Web服务在Android中显示数据
  • 如何从php http请求[关闭]在Android中的数组中存储数据
  • 从数组中将对象保存到数据库[关闭]
  • json_decode处理数组和对象
  • 如何在会话中存储文件,我可以在一个完整的会话期间访问它?
  • 如何保留现有的数据库连接?
  • 第三方facebook登录不在IE8中工作
  • VS code 调试C语言代码
  • textarea的onblur事件
  • Mybatis 多表条件查询返回值为空?
  • Matlab的simulink如何使用写好的C语言?
  • 请问如何解决使用PYTHON PIVOT时内存不足的问题?
  • C语言怎么实现蛇形矩阵的逆向输出啊?
  • graphframes安装的详细步骤
  • 在php中将子菜单连接到sql和分页

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华