How's it going?
Long of the short of this thing is just a testing type grounds. It will be put into production and possibly have an article wrote about it (if it doesn't exist already). I created an include on one server on hostx.com and need to call that include off of hosty.com.
Data for include:
<?php
$included_data = "hello world";
?>
Here is the script on hosty.com
<?php
include_once("http://www.hostx.com/include/included_file.inc.php");
echo $included_data;
?>
Now when I run this scenario on localhost it works fine. However when I try to get from a different server or use a fully qualified http:// scheme it doesnt' work. Can someone think of a way I can include that file?
Chad