dongzai2952
dongzai2952
2014-02-12 11:06

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.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dpv50040 dpv50040 7年前

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

    点赞 评论 复制链接分享