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

    settare register_globals ad on da PHP

    Come da topic, come si può settare ad on la variabile register_globals da PHP?
    Io ho provato ad inserire questo codice nel file .htaccess della directory principale dell'applicazione (per la precisione oscommerce):

    # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
    #
    # This is used with Apache WebServers
    #
    # For this to work, you must include the parameter 'Options' to
    # the AllowOverride configuration
    #
    # Example:
    #
    # <Directory "/usr/local/apache/htdocs">
    # AllowOverride Options
    # </Directory>
    #
    # 'All' with also work. (This configuration is in the
    # apache/conf/httpd.conf file)

    # The following makes adjustments to the SSL protocol for Internet
    # Explorer browsers

    <IfModule mod_setenvif.c>
    <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    </IfDefine>
    </IfModule>

    # Fix certain PHP values
    # (commented out by default to prevent errors occuring on certain
    # servers)

    # <IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    php_flag register_globals on
    # </IfModule>


    Ma non sembra funzionare...qualche suggerimento?

  2. #2
    <IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    php_flag register_globals on
    </IfModule>

    togliere il commento # a questa prima e ultima riga.


    Il silenzio è spesso la cosa migliore. Pensa ... è gratis.

  3. #3
    Originariamente inviato da piero.mac
    <IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    php_flag register_globals on
    </IfModule>

    togliere il commento # a questa prima e ultima riga.

    Sembra non funzionare...
    Possibile sia un blocco del server?

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 © 2025 vBulletin Solutions, Inc. All rights reserved.