Quote:
Originally Posted by teksigns
ok i altered it so you it dont use the include any longer ......
this is the code im using now and it works just the same without the include .
Code:
if ($value['showlink'] == 1)
{
$url = htmlspecialchars_uni(stripslashes($userinfo['location']));
$url = addslashes($url);
$url = preg_replace('/(s|sessionhash)=[a-z0-9]{32}(&|&){0,1}/', '', $url);
if ($session['sessionurl'] != '')
{
if (strpos($url, '?') !== false)
{
$url .= "&$session[sessionurl]";
}
else
{
$url .= "?$session[sessionurl]";
}}
$userinfo['location'] = stripslashes(stripslashes($url));
$userinfo['location'] = ereg_replace('&','&',$userinfo[location]);
$userinfo['where'] = "<a href=\"$userinfo[location]\">$value[where]</a>";
}
hope this works for everyone else
|
Ill post an addition tonight or tomorrow, thats still way to much code to do something so simple.