Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Magic Quotes and Add Slashes in PHP

    Ciao.
    Che ne pensate di questo articolo ?
    Fatemi sapere cosa ne pensate
    sempre che ne abbiate voglia


    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  2. #2
    Sinceramente non ho capito se magic_quote_gpc() la devo tenere ad on o ad off.. mi pare sia meglio tenerla ad off credo..

    e poi

    Codice PHP:
    <?php
    highlight_string 
    "<?php

    function myAddSlashes( 
    $string ) {

    if (get_magic_quotes_gpc()==1) {

    return ( 
    $string );

    } else {

    return ( addslashes ( 
    $string ) );

    }

    }

    ?>" 
    );
    ?>
    cos'è highlight_string?? una funzione?? e xke dentro le parentesi viene aperto il tag di php(<?php)??

    Grazie x la spiegazione
    Questa volta, più che un voto.. è favoreggiamento.

  3. #3

    ......

    Sinceramente non ho capito se magic_quote_gpc() la devo tenere ad on o ad off.. mi pare sia meglio tenerla ad off credo..
    Ad off in ogni caso.
    Per il secondo quesito highlight_string
    Da parte mia non ho ben capito
    come utilizzare il .htaccess file
    se c'è qc che ha le idee + chiare si faccia
    avanti


    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.