I am using
ob_start();
require ("http://mydomain.com/file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("http://mydomain.com/file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
It works fine. Thanks.
But with relative path:
ob_start();
require ("../file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("../file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
or with server path:
ob_start();
require ("/home/blabla/public_html/file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("/home/blabla/public_html/file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
The files are parsed on my homepage but I got "No Forum specified. If you followed a valid link, please notify the webmaster" if I click on a link (forumdispaly).
Any idea ?
ob_start();
require ("http://mydomain.com/file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("http://mydomain.com/file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
It works fine. Thanks.
But with relative path:
ob_start();
require ("../file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("../file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
or with server path:
ob_start();
require ("/home/blabla/public_html/file1.php");
$included_file1 = ob_get_contents();
ob_end_clean();
ob_start();
require ("/home/blabla/public_html/file2.php");
$included_file2 = ob_get_contents();
ob_end_clean();
The files are parsed on my homepage but I got "No Forum specified. If you followed a valid link, please notify the webmaster" if I click on a link (forumdispaly).
Any idea ?
Comment