<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[strip_tags]]></title><description><![CDATA[<p dir="auto">Ciao a tutti,<br />
dovrei usare la nota funzione di PHP, strip_tags().<br />
Questa funzione mi serve però all'opposto. Cioè vorrei che tutti i tag siano ammessi ad eccezione di uno....<br />
Come faccio?<br />
Ciao e Grazie!</p>
]]></description><link>https://dev.connect.gt/topic/92421/strip_tags</link><generator>RSS for Node</generator><lastBuildDate>Tue, 01 Dec 2026 08:57:15 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/92421.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Jan 2009 14:13:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to strip_tags on Sun, 18 Jan 2009 15:51:52 GMT]]></title><description><![CDATA[<p dir="auto">Ciao talkoman,</p>
<p dir="auto">Dovresti poterlo fare con la funzione ereg_replace.</p>
]]></description><link>https://dev.connect.gt/post/800600</link><guid isPermaLink="true">https://dev.connect.gt/post/800600</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Sun, 18 Jan 2009 15:51:52 GMT</pubDate></item><item><title><![CDATA[Reply to strip_tags on Sun, 18 Jan 2009 15:51:18 GMT]]></title><description><![CDATA[<p dir="auto">Allora devi usare un preg_replace...Io purtroppo non ne so niente del preg_match...:bho:<br />
Puoi aspettare altre risposte da altri utenti<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=2190ae3dadd" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/800595</link><guid isPermaLink="true">https://dev.connect.gt/post/800595</guid><dc:creator><![CDATA[ilnetsurfer]]></dc:creator><pubDate>Sun, 18 Jan 2009 15:51:18 GMT</pubDate></item><item><title><![CDATA[Reply to strip_tags on Sun, 18 Jan 2009 15:21:38 GMT]]></title><description><![CDATA[<p dir="auto">Ma se per esempio non voglio ammettere il tag &lt;span&gt;.<br />
Questo tag al suo interno può contenere altro....quindi quando per esempio mi compare:</p>
<pre><code class="language-html">&lt;span style="font-family: 'Comic Sans MS'; "&gt;Provo Testo&lt;/span&gt;
</code></pre>
<p dir="auto">Come faccio a fargli un str_ireplace?</p>
]]></description><link>https://dev.connect.gt/post/800601</link><guid isPermaLink="true">https://dev.connect.gt/post/800601</guid><dc:creator><![CDATA[talkoman]]></dc:creator><pubDate>Sun, 18 Jan 2009 15:21:38 GMT</pubDate></item><item><title><![CDATA[Reply to strip_tags on Sun, 18 Jan 2009 15:18:10 GMT]]></title><description><![CDATA[<p dir="auto">Beh, se vuoi che un unico tag non sia ammesso, puoi fare uno str_ireplace...Così:</p>
<pre><code class="language-php">$text = str_ireplace("&lt;mytag&gt;","[mytag]",$text);
$text = str_ireplace("&lt;/mytag&gt;","[/mytag]",$text);
</code></pre>
<p dir="auto">Per curiosità, di che tag si tratta?</p>
]]></description><link>https://dev.connect.gt/post/800594</link><guid isPermaLink="true">https://dev.connect.gt/post/800594</guid><dc:creator><![CDATA[ilnetsurfer]]></dc:creator><pubDate>Sun, 18 Jan 2009 15:18:10 GMT</pubDate></item></channel></rss>