![]() |
Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- Ancora php (http://www.dsy.it/forum/showthread.php?threadid=2952)
Ancora php
ora son oalle prese con strip_tags.
Ok...ho capito come funzica...
come faccio a sapere quali tag ha strippato?
__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour
"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)
strippa tutto tranne quello che tu eventualmente specifichi di tenere.
es:
$var = strip_tags($html);
$var = strip_tags($html,'<a>');
__________________
» Collect some stars to shine for you, and start today ‘cause there are only a few. _ (In Flames)
» Don't stop for nothing, it's full speed or nothing! I'm taking down, you know, whatever is in my way! _ ('tallica)
» I am my own god, I do as I please. _ (Pain)
» Ninetynine, ninetynine knives! Ninetynine knives inside! Nobody gets out alive! _ (The Haunted)
Web: http://www.negativesignal.com - ICQ# 171585477 - Death to software patents! And TCPA too! "e uno!", diceva il boia.
innanzitutto grazie...
cmq intendevo questo :
io ho chesso'....
-blocco html-
<tag1>dfasdfasd</tag1>
<tag2>asdfasdfas</tag2>
da cui $strippato=strip_tags(blocco html[,not allowed tags])
mi darebbe
dfasdfasd asdfasdfas
però mi servirebbe una roba ( chessò magari addirittura un array)
dove lui mi butta dentro tutti i tag ( fisicamente) che toglie
ovvero $tagTolti[]=["<tag1>","</tag1>","<tag2>","</tag2>"]
chiedo troppo?
__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour
"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)
| All times are GMT. The time now is 22:55. | Show all 3 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.