Topic: Cutenews on another site
Hi,
So im wanting to pull cutenews from another site, I don't want to RSS feed it (both are my sites) the code I put was;
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if($_GET['go'] == "" or $_GET['go'] == "news"){
include("/home/gss/public_html/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "headlines"){
$template = "Headlines";
include("/home/gss/public_html/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "archives"){
include("/home/gss/public_html/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "search"){
include("/home/gss/public_html/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "userlist"){
$imod = 'userlist';
$user_flags = 'unraple';
include("/home/gss/public_html/r0ss/news/show_news.php");
}
?>
Then that didn't work so i tried;
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if($_GET['go'] == "" or $_GET['go'] == "news"){
include("http://globalsearchsolutions.org/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "headlines"){
$template = "Headlines";
include("http://globalsearchsolutions.org/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "archives"){
include("http://globalsearchsolutions.org/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "search"){
include("http://globalsearchsolutions.org/r0ss/news/show_news.php");
}
elseif($_GET['go'] == "userlist"){
$imod = 'userlist';
$user_flags = 'unraple';
include("http://globalsearchsolutions.org/r0ss/news/show_news.php");
}
?>
Nether worked, Any ideas? I don't want to use a RSS feed.
Ross