Integrate php with drupal

How to enable php pages in drupal without changing php code so dynamic content can be generated. Any process is fine. But I don't want to do coding in drupal

+2


a source to share


2 answers


enable the PHP filtering module, select the time to add this filter in Content, add php code - this is not drupal, but it's faster to do ...



+1


a source


  • Make sure your PHP file is very secure when you open up a potential hole in your Drupal system.
  • Enable PHP input filter for your admin editor profile. (Do not give untrusted users access to this editor!)
  • Edit your content element.
  • Add something like <? php include ('/path/to/my/very/secure/file.php') ;? >
  • Save.


+1


a source







All Articles