|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-12 13:09 UTC] jani@php.net
[2008-11-20 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
Description: ------------ if i use preg_replace function , my system log will show Nov 12 13:41:31 mail kernel: pid 51185 (httpd), uid 80: exited on signal 4 i try to use ereg_replace, mb_ereg_replace function , it works . so I think it's preg_replace bugs. $sql = preg_replace("/'(\\'|\\{2}|[^'])*'/", '', $sql) sql statement is INSERT IGNORE INTO bb_posts_text (post_id, post_text) VALUES ( '117766', '?I!!?Q???@?~?e???L?e?]?ܱ`?W??mml???j?a???y???ɷӤ? ???????N???L?F ?S?????ɶ? ???ӻ??]?S???|?????ӹ????? ???ɴN?u?n?b?x????nokia ??E60???z?????L?L???} ?ש??? ?Q?ڼ????h???F...?ҥH?O???M?N?? ?n?X???h??̥S?@?_?X?h???F???ӴX?? ?o?????X?Ѵ??????F?ά۾????ӥ~...?]???????ثe?????Oiphone ?ҥH?]?H?⮳?X?Ӷé?....???M?j?a?????Diphone?j?????b?۾? ?Ʀܴ??M???H?|ı?o???????ӫ???...???g?L?o??iphone?۾????ھޤF4?Ѥ??? ???گu??ı?o?? ?H?L??200?U???? ?L?۰ʹ??J???Ũӻ? ?o?????ӧ?ı?o?i?H?b?o?ǵ??Ū??????̺??Z?e?????F (???O?ȱo?ų\??..?ܤ֥H?L???ӳW???Ӭ?..?]?????e?ιL?Laf200?U?e????' )