HTML ausschalten

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML ausschalten

    Wie kann ich die Verwendung von HTML ausschalten ? In meinem Falle für das Gästebuch.

  • #2
    htmlspecialchars()

    http://www.php.net/manual/de/functio...ecialchars.php

    mfg

    Comment


    • #3
      verstehe ich nicht so ganz, kann das mal jemand kurz erklären ?

      Comment


      • #4
        $text = htmlspecialchars($text);

        mfg

        Comment


        • #5
          Klar kann dir das jemand erklären:

          SUCHE!
          Manual!

          Comment


          • #6
            das is wohl passender:

            strip_tags
            strip_tags -- Entfernt HTML- und PHP-Tags aus einem String
            Beschreibung:
            string strip_tags ( string str [, string allowable_tags])
            Beantworte nie Threads mit mehr als 15 followups...
            Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

            Comment

            Working...
            X