# HG changeset patch # User Alex McMahon # Date 1276529825 -3600 # Node ID a1ed9d6856d66656d01064f3098faf5af6cba728 # Parent 08b0c7b210353ba0837aef7a9e5ccd3201cf2059 redirect fix diff -r 08b0c7b21035 -r a1ed9d6856d6 add_search.php --- a/add_search.php Wed Jun 02 20:06:38 2010 +0100 +++ b/add_search.php Mon Jun 14 16:37:05 2010 +0100 @@ -102,7 +102,7 @@ } fclose($sk); - header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . 'details.php'); + header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php'); //header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php?alert=add'); } ?> @@ -122,7 +122,7 @@ if ($search_term == "") { - print "

You did not enter a valid search term. Click the link to return to the search page.

"; + print "

You did not enter a valid search term. Click the link to return to the search page.

"; } print ("

MSG = " . $message . "

"); diff -r 08b0c7b21035 -r a1ed9d6856d6 details.php --- a/details.php Wed Jun 02 20:06:38 2010 +0100 +++ b/details.php Mon Jun 14 16:37:05 2010 +0100 @@ -77,10 +77,11 @@ // $sid2 = '06D5VlLQTbM57LL7IBMW38yHkFpb1XVa'; $currSID2 = $sid2; } -echo $uid; +/*echo $uid; echo $sid1; echo $sid2; echo $enum; +*/ /* if ($currSID1 == "") { @@ -99,7 +100,7 @@ echo $currSID2; } */ -print_r($_COOKIE); +#print_r($_COOKIE); $status = $_GET['alert']; $view_mode = $_GET['view_mode']; @@ -264,7 +265,8 @@ ?>