Forum Issues > Forum Talk

Delimiter must not be alphanumeric or backslash in

(1/1)

jason:
Hi site admin,

this is jason which post in your thread in phpbb.

have this problem when user tried to login and admin login.

Warning: Delimiter must not be alphanumeric or backslash in /httpdocs/forum/includes/sessions.php on line 442


--- Code: ---function append_sid($url, $non_html_amp = false)
{
  //    
//global $SID;
//if ( !empty($SID) && !preg_match('#sid=#', $url) )
//

global $SID, $HTTP_SERVER_VARS;

    if ( !empty($SID) && !preg_match('sid=', $url) && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot') && !strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'slurp@inktomi.com;'))
{
$url .= ( ( strpos($url, '?') != false ) ?  ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID;
}

return $url;
}

--- End code ---

Ricky:
Please ask this on phpBB///

jason:
ok ....anyway i solve it.

Navigation

[0] Message Index

Go to full version