🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #230768

Re: jak zrobić bbcode w php

#230768
From: Rafal Podsiadly
Date: Thu, 20 Nov 2014 18:16
7 lines
1665 bytes
W dniu czwartek, 20 listopada 2014 18:32:55 UTC+1 użytkownik platformowe głupki napisał:
> http://www.forumweb.pl/php/bbcode-na-stronie-img-link-img,52561
> natomiast jak Ktoś ma inny lepszy pomysł to proszę.

str_replace http://php.net/manual/en/function.str-replace.php

kody umieszczasz w arrayu a pozniej sobie zmeiniasz hurtowo dla calego dokumentu fajna zabawa kiedys robilem system szablonow i nawet na jednej stronie jest przyklad
Technical Details
Message-ID: <ae4b1e53-1158-4b1c-9c5e-4a4625655b0e@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!h15no4487318igd.0!news-out.google.com!w7ni50qay.0!nntp.google.com!w8no1169715qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <m4l8c2$42n$1@node2.news.atman.pl> <m4l8k5$49h$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
X-Received: by 10.50.88.10 with SMTP id bc10mr10056908igb.5.1416507387316;        Thu, 20 Nov 2014 10:16:27 -0800 (PST)
X-Received: by 10.140.104.2 with SMTP id z2mr25556qge.24.1416507387243; Thu, 20 Nov 2014 10:16:27 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!h15no4487318igd.0!news-out.google.com!w7ni50qay.0!nntp.google.com!w8no1169715qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.php
Date: Thu, 20 Nov 2014 10:16:27 -0800 (PST)
In-Reply-To: <m4l8k5$49h$1@node2.news.atman.pl>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.178.24.127; posting-account=reqlzgoAAACKWK1i9kGr8VyQtzu_4AF6
NNTP-Posting-Host: 31.178.24.127
References: <m4l8c2$42n$1@node2.news.atman.pl> <m4l8k5$49h$1@node2.news.atman.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae4b1e53-1158-4b1c-9c5e-4a4625655b0e@googlegroups.com>
Subject: Re: jak zrobić bbcode w php
From: Rafal Podsiadly <spinacz24@gmail.com>
Injection-Date: Thu, 20 Nov 2014 18:16:27 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit