Posted by vwilding on February 21, 2013 at 7:32pm
I'm migrating an existing site to Drupal, and I'm trying to use a simple PHP include statement:
<?php include ($_SERVER['DOCUMENT_ROOT']."/NEWS/current_news"); ?>
in a Basic Page, but it doen't show up. I've googled my heart out, but no hits.
Any feedback would be appreciated.
--
Vince Wilding,Web Wrangler
Vincent.C.Wilding@nasa.gov
Science Systems & Applications, Inc. (SSAI)
Ocean Biology Processing Group
NASA/GSFC Code 616 (Mail Stop 616.2)
Greenbelt, MD 20771
Comments
Have you enabled the PHP code
Have you enabled the PHP code filter (the module is disabled by default)?
And have you set the text filter to PHP code?
Thanks!
I'm still digging around in this nifty system. Thanks to your pointer, I found it in the Modules tab. Now I can (dare I say it?) Rule the World!
Vince Wilding, Web Wrangler
Science Systems & Applications, Inc. (SSAI)
Ocean Biology Processing Group
NASA/GSFC Code 616 (Mail Stop 616.2)
Greenbelt, MD 20771, USA