Forum Moderators: coopster

Message Too Old, No Replies

include_once directive

         

scorpion

7:39 pm on Dec 8, 2002 (gmt 0)

10+ Year Member



This doesn't seem to be documented, but can you use include_once with http?

i.e. include_once 'http://www.adomain.com/file.html';

andreasfriedrich

8:13 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using an URL (via HTTP or other supported wrapper

[php.net...] which applies to include_once as well.