Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Forum Issues => Forum Talk => Topic started by: jason on November 22, 2003, 05:26:58 PM

Title: Delimiter must not be alphanumeric or backslash in
Post by: jason on November 22, 2003, 05:26:58 PM
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: [Select]
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;
}
Title: Delimiter must not be alphanumeric or backslash in
Post by: Ricky on November 23, 2003, 06:07:47 AM
Please ask this on phpBB///
Title: Delimiter must not be alphanumeric or backslash in
Post by: jason on November 23, 2003, 01:16:01 PM
ok ....anyway i solve it.