I started writing this but never got it to work. In functions.php
i did the following replacement
PHP Code:
$replacearray = array(
"<ol type=\"\\5\">\\7</ol>",
"<ul>\\4</ul>",
"<li>",
"<a href=\"http://www.\\6\" target=\"_blank\">\\8</a>",
"<a href=\"\\5\" target=\"_blank\">\\7</a>",
"<a href=\"http://www.\\5\" target=\"_blank\">\\5</a>",
"<a href=\"\\4\" target=\"_blank\">\\4</a>",
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
"java script:",
"about :"
);
/*
$replacearray = array(
"<ol type=\"\\5\">\\7</ol>",
"<ul>\\4</ul>",
"<li>",
"<a href=\"http://www.ascifi.com/forums/jump.php?url=http://www.\\6\" target=\"_blank\">\\8</a>",
"<a href=\"http://www.ascifi.com/forums/jump.php?url=\\5\" target=\"_blank\">\\7</a>",
"<a href=\"http://www.ascifi.com/forums/jump.php?url=http://www.\\5\" target=\"_blank\">\\5</a>",
"<a href=\"\\4\" target=\"_blank\">\\4</a>",
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
"java script:",
"about :"
);
*/
and then jump.php is
PHP Code:
<?
####################### Jump.php by Chris Padfield #######################
require('./global.php');
$DB_site->query("INSERT INTO urllog SET
url = '".addslashes($url)."',
dateline = '".time()."'
");
header("Location: $url");
?>
the problem was the second variables were not working. For example
www.ascifi.com/forums/showthread.php?threadid=45
would be fine
but
http://www.ascifi.com/forums/showthr...34&threadid=45
would have threadid=45 dropped of and result in an error.