Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
That doesn't make any sense... Why would you include a processed php page? If you did want to print the results of a php page, I would think you would make use something like echo file_get_contents('URL').
Comments
Enable the php filter module.
Enable the php filter module. After you enable it, php with be available in your input formats
thanks ... but now i have
thanks ...
but now i have this error
warning: include() [function.include]: URL file-access is disabled in the server configuration
That means you can only
That means you can only include files relative to your web sites root.
how to fix this? it's a
how to fix this?
it's a simple script, in html it works fine
include("http://link.com/posts.php");Assuming your site is
Assuming your site is http://link.com you would use
include("/posts.php");That doesn't make any
That doesn't make any sense... Why would you include a processed php page? If you did want to print the results of a php page, I would think you would make use something like echo file_get_contents('URL').
figure this one... thanks for
figure this one... thanks for the support
Share?
Could you share with us how you fixed it? It might help the next drupaler out?
sure, I used
sure, I used file_get_contents instead