November 23, 2024, 10:38:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Delimiter must not be alphanumeric or backslash in  (Read 15569 times)

Offline jason

  • Linux Noob !
  • *
  • Posts: 4
    • http://www.metrica-tech.com/forum
Delimiter must not be alphanumeric or backslash in
« 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;
}

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Delimiter must not be alphanumeric or backslash in
« Reply #1 on: November 23, 2003, 06:07:47 AM »
Please ask this on phpBB///

Offline jason

  • Linux Noob !
  • *
  • Posts: 4
    • http://www.metrica-tech.com/forum
Delimiter must not be alphanumeric or backslash in
« Reply #2 on: November 23, 2003, 01:16:01 PM »
ok ....anyway i solve it.