Click in script send me automatic to startpage

bart10001

No avatar

2008-04-04 19:39

Hello,

I use include 123tijdschrift.php in my website. 123tijdschrift is a php script that sell magazines. When you visit tijdschriften on the website you will see the correct script. But when you want to search or click on e.q B - C - D - E- etc it will take you back to the startpage.

This is the search engine.

<script language="JavaScript">
function checkZoeken() {
if (document.zoeken.trefwoord.value == '') {
alert("U dient wel een zoekterm op te geven.");
document.zoeken.trefwoord.focus();
return false;
}
//document.zoeken.submit.disabled = true;
return true;
}
</script>

<form name="zoeken" method="get" action="" onsubmit="return checkZoeken();">
<input type="hidden" name="action" value="zoeken">
<input type="text" name="trefwoord" value="<?=$_SERVER['REQUEST_URI']['trefwoord']?>">
<input type="submit" value="zoeken">
</form>



This is for the magazines.


<?php

$wi = WEBSITE_ID; // website ID
$ws = WEBSITE_SUBID; // SubID

// hieronder niets aanpassen
$qs = $_SERVER['QUERY_STRING'];
$ip = $_SERVER['REMOTE_ADDR'];
$domain = urlencode('http://'.$_SERVER['REQUEST_URI'].
$_SERVER['PHP_SELF']);
$file = 'http://www.123tijdschrift.nl/whitelabel.php?' ;
.$qs
.'&wi='.$wi
.'&ws='.$ws
.'&bedankt='.$domain
.'&ip='.$ip;
$fp = fopen($file, 'r');

while(true) {
$content = fread($fp, 8192);
if (strlen($content) == 0) break;
$data .= $content;
} fclose ($fp);

print $data;

?>

This is the webpage http://www.everydaystart.com/?ddd,42

» Quick.Cms v2.x

bart10001

No avatar

2008-04-05 12:52

Somebody who has an idea?

bart10001

No avatar

2008-04-05 13:02

http://www.everydaystart.com/123tijdschrift.php

This is the webpage I include. Here its working, but when i include it @ http://www.everydaystart.com/?ddd,42 its not working anymore.

sorry for the 2posts but i cant edit a message

bart10001

No avatar

2008-04-06 14:26

Is it possible anyway?
Can someone help me?

bart

treewood (OpenSolution)

Avatar: treewood

2008-04-07 10:30

bart10001 - sorry but i dont know this script and cant help you

bart10001

No avatar

2008-04-07 13:49

ok, thanks for looking.

bart

Back to top
about us | contact