Can I include file through HTTP? I tried the example below from http://uk2.php.net/function.include
but it is def not working on my localhost.
// Won't work; file.txt wasn't handled by www.example.com as PHP
// Won't work; looks for a file named 'file.php?foo=1&bar=2' on the
// local filesystem.
$foo = 1;
$bar = 2;
include 'file.txt'; // Works.
include 'file.php'; // Works.
This is what I tried to include
<?php include 'http://localhost/mysite/incl_layouts.blog/navigation.php';?>