Article View: pl.comp.lang.php
Article #220205Re: Jakiej funkcji używacie do sprawdzenia zawierania się jednego ze słów tablicy w stringu
From: Sexbox
Date: Mon, 17 Aug 2009 18:07
Date: Mon, 17 Aug 2009 18:07
7 lines
1489 bytes
1489 bytes
>> function fnZawieraWulgaryzm ($s) {
>> $azleslowa = array ('dupa', 'pisior');
>> return (str_replace ($azleslowa, '', $s) != $s);
> http://pl2.php.net/manual/en/function.substr-count.php
Coś nie widzę związku, czy też zastosowania tej funkcji.
Technical Details
Message-ID:
<h6c6ds$ap3$1@atlantis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<h6c2gq$26m$1@atlantis.news.neostrada.pl> <h6c2oi$gh2$1@newsread.aster.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: "Sexbox" <sex.box@wp.pl.NIEPRAWDZIWY.PL> Newsgroups: pl.comp.lang.php Subject: Re: Jakiej funkcji używacie do sprawdzenia zawierania się jednego ze słów tablicy w stringu Date: Mon, 17 Aug 2009 20:07:27 +0200 Organization: TP - http://www.tp.pl/ Lines: 7 Message-ID: <h6c6ds$ap3$1@atlantis.news.neostrada.pl> References: <h6c2gq$26m$1@atlantis.news.neostrada.pl> <h6c2oi$gh2$1@newsread.aster.pl> NNTP-Posting-Host: azm220.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: atlantis.news.neostrada.pl 1250532604 11043 83.27.150.220 (17 Aug 2009 18:10:04 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Mon, 17 Aug 2009 18:10:04 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3598 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Antivirus: avast! (VPS 090816-0, 2009-08-17), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit