|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-16 14:22 UTC] sas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 00:00:02 2025 UTC |
Whenever I change the session.name variable like this: ini_set('session.name', 'SESSIONID'); I get this intermittent error: Warning: Delimiter must not be alphanumeric or backslash in func.database.inc on line 101 The offending code on line 101 is this: if(preg_match('/^select/i', $sql)) $rows = db_num_rows($result); Although it's not limited to this code, when using the PEAR db layer it came a cropper on that too. The code there also contained a preg function. (Line 331 of DB.php IIRC) If I don't change the session.name variable, the error never happens. Configure line: './configure' '--with-apache=../httpd' '--with-mysql' '--with-ftp' '--with-config-file-path=/www/conf' '--enable-dbase' '--with-pgsql=/usr/include/pgsql' '--with-mcrypt' '--with-imap' '--enable-sockets'