开发者

integrate php with drupal

How to include php pages in drupal without changing 开发者_高级运维the php code so that dynamically content can be generated.Any process is ok.But i don't want to do the coding in drupal


enable PHP filter module, choose in Content adding time this filter, add php code - it's not drupal way, but faster to do...


  1. Make sure your PHP file is very secure as you're opening a potential hole in your Drupal system.
  2. Activate the PHP Input filter for your admin editor profile. (Don't give untrusted users access to this editor!)
  3. Edit your Content Item.
  4. Add something like <?php include('/path/to/my/very/secure/file.php'); ?>
  5. Save.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜