Topic: Include problem with cutenews 1.5.2
Hey there, i've installed cutenews 1.5.2 on my server in a folder mysite.com/cutenews/show_news.php
The page where i want to include the news is mysite.com/test.php
so i've used the following code in cutenews 1.4.7 but it does not work any more in cutenews 1.5.2:
<?php
$PHP_SELF = 'index.php';
$QUERY_STRING = 'action=test';
include("cutenews/show_news.php");
?>
the index.php is my template-site where i've included the following code:
<?
switch($_GET['action']){
case "test": include("test.php"); break;
default: include("test.php"); break;
}
?>
It works fine to show the short-news. But when clicking on "read more" the following url appears:
mysite.com/test.php?subaction=showcomments&id=1359620315&template=Default&test=test
But it should be "&action=test" not "&test=test".. how do i have to change the code above????