+ Antworten
Ergebnis 1 bis 2 von 2

Thema: magic_quotes

  1. #1
    Kommt häufiger vorbei
    Registriert seit
    14.12.2005
    Ort
    Neuhemsbach
    Alter
    47
    Beiträge
    438
    Bedankte sich
    20
    Erhielt 33 Danksagungen
    in 32 Beiträgen

    Standard magic_quotes

    Hallo,
    nach erfolgreichem Register Globals Emulation Settings habe ich noch einen Punkt in rot angezeigt:
    PHP magic_quotes_gpc setting is `OFF` instead of `ON`
    Ist der wichtig, kann das nämlich nirgendwo finden.

    Danke für Hilfe

  2. #2
    axel.sauerhoefer
    Gast

    Standard

    Hi,

    magic_qoutes kannst du über die php.ini einstellen.

    hier die doku dazu

    Kapitel 31. Magic Quotes
    Inhaltsverzeichnis
    What are Magic Quotes
    Why use Magic Quotes
    Why not to use Magic Quotes
    Disabling Magic Quotes
    Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed.

    What are Magic Quotes
    When on, all ' (single-quote), " (double quote), \ (backslash) and NULL characters are escaped with a backslash automatically. This is identical to what addslashes() does.

    There are three magic quote directives:


    magic_quotes_gpc

    Affects HTTP Request data (GET, POST, and COOKIE). Cannot be set at runtime, and defaults to on in PHP.

    See also get_magic_quotes_gpc().

    magic_quotes_runtime

    If enabled, most functions that return data from an external source, including databases and text files, will have quotes escaped with a backslash. Can be set at runtime, and defaults to off in PHP.

    See also set_magic_quotes_runtime() and get_magic_quotes_runtime().

    magic_quotes_sybase

    If enabled, a single-quote is escaped with a single-quote instead of a backslash. If on, it completely overrides magic_quotes_gpc. Having both directives enabled means only single quotes are escaped as ''. Double quotes, backslashes and NULL's will remain untouched and unescaped.

    See also ini_get() for retrieving its value.
    gruss axel

+ Antworten

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein