dongzai2952
2014-02-12 11:06
浏览 55
已采纳

php include不工作cordova android app

I have a index.php which is split into multiple modules like header.php, footer.php and when i use require method available in php i.e (require(header.php), require(footer.php)) it works fine in browsers and it's is not working when i converted it into android apk using cordova 3.0.0.

图片转代码服务由CSDN问答提供 功能建议

我有一个index.php,它被分成多个模块,如header.php,footer.php和我使用的时候 php中提供的require方法ie(require(header.php),require(footer.php))它在浏览器中工作正常,当我使用cordova 3.0.0将其转换为android apk时它无效。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dpv50040 2014-02-12 11:32
    已采纳

    They aren't related. You can't have server side code running on client.

    点赞 评论

相关推荐 更多相似问题