Hi
I am not getting any response from the Cutenews forum. So perhaps Daniweb experts can help me. I have a couple of websites that have a Cutenews version 1.4.6 search form working. For my latest website I decided to use cutenews 2.0.2. As far as possible I have made use of the code that I have already used. I am stuck with an issue PHP based.
The message I am getting: "Cutenews has detected that you are using show_news.php using the URL to the this file . . ."
But I am not including show_news.php I am including search.php
<div id="sitesearch">
<form action= "sitesearch.php" method="get"> <!-- sitesearch.php is my news search results page -->
<input type="text" name="story" size="28">
<input type="hidden" name="dosearch" value="yes">
<input type="submit" value="Search" style="height: 26px">
</form>
</div> <!-- site search -->
<!--webbot bot="HTMLMarkup" startspan --><?php
if((isset($_POST['do']) && $_POST['do'] == 'search')
or (isset($_GET['dosearch']) && $_GET['dosearch'] == 'yes')){
$subaction = 'search';
$dosearch = 'yes';
} ?><!--webbot bot="HTMLMarkup" endspan -->
The relevant section of sitesearch.php is included below
<?php
include('cutenews/search.php');
?>
Theres's a beer in it for a solution :)
Thanks
Thanks