Hi
I want to
include("http://domain.com/file.php")
in either my drupal module or theme.
but I get
Failed opening required 'http://domain.com/file.php' (include_path='.:/opt/lampp/lib/php')
what is the correct way to do this?
thanks!
Hi
I want to
include("http://domain.com/file.php")
in either my drupal module or theme.
but I get
Failed opening required 'http://domain.com/file.php' (include_path='.:/opt/lampp/lib/php')
what is the correct way to do this?
thanks!
That is the proper way. However allow_url_include
needs to be set to true in your php.ini.