php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18306 Replace [a-z]
Submitted: 2002-07-12 07:55 UTC Modified: 2002-07-12 08:09 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: webmaster at webgrauen dot de Assigned:
Status: Not a bug Package: *Regular Expressions
PHP Version: 4.2.1 OS: Linux Apache1.3.23
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: webmaster at webgrauen dot de
New email:
PHP Version: OS:

 

 [2002-07-12 07:55 UTC] webmaster at webgrauen dot de
It works only with upercase letters.

This will replace letters in upper cases if you type more as 5 in a row(This do parse guestbook entries). But it dont work with lower cases.

$HTTP_POST_VARS[message]= preg_replace("/([A-Z]{5,})/","\t\t","$HTTP_POST_VARS[message]");

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-12 08:09 UTC] derick@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC