|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-11-14 03:43 UTC] joey at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 09:00:01 2026 UTC |
ereg is crashing apache when the variable data begins with a ".". There are probably better ways to do this, but , it does work with ALL previous versions tested. Not able to get a core dump or backtrace. Soalris 7 x86 on PII 400 Apache 1.3.9 with PHP as DSO ./configure --with-apxs=/opt/apache/bin/apxs --with-config-file-path=/opt/apache/conf --without-gd --with-yp --with-ldap=/opt ********************************************************************************** <html> <head><title>Ereg Test</title></head> <body> <? $testvar=".bunk variable data"; if ( !ereg( "^\.+", $testvar) ) { echo "<h2>Testvar passed regex</h2>\n"; } ?> </body> </html>