Helpie
21-04-2007, 08:47 PM
Trying to get headlines to display, But its showing this.
CuteNews has detected that you are including show_news.php using the URL to this file.
This is incorrect and you must include it using the PATH to show_news.php
Example:
this is WRONG : <?PHP include("http://yoursite.com/cutenews/show_news.php"); ?>
this is CORRECT: <?PHP include("cutenews/show_news.php"); ?>
// if you think this message shouldn't be shown, open show_news.php and delete it from there
Im using this php code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body><?PHP
$number=5;
$template="Headlines";
include("/home/habboc/public_html/cutenews/show_news.php");
?>
</body>
</html>
Any help will = Rep
CuteNews has detected that you are including show_news.php using the URL to this file.
This is incorrect and you must include it using the PATH to show_news.php
Example:
this is WRONG : <?PHP include("http://yoursite.com/cutenews/show_news.php"); ?>
this is CORRECT: <?PHP include("cutenews/show_news.php"); ?>
// if you think this message shouldn't be shown, open show_news.php and delete it from there
Im using this php code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body><?PHP
$number=5;
$template="Headlines";
include("/home/habboc/public_html/cutenews/show_news.php");
?>
</body>
</html>
Any help will = Rep