Oscomerce & Register Globals

Discussion in 'Tips/Tricks/Mods' started by planet_fox, Mar 10, 2007.

  1. planet_fox

    planet_fox Member

    When you want Oscomerce use with Register_Globals on have you lots of way here
    a some Idee .

    1.

    edit this /etc/php4/apache2/php.ini

    Code:
    editor  /etc/php4/apache2/php.ini 
    Search register_globals and change

    to

    Code:
    register_globals = on
    restart your Webserver and Register globals run of all sites you have host


    2. You have run apache2 as modul and ispconfig run and want register globals only for some website and noth for all

    You try the web what you want to register globals set on and set in

    Apache Direktiven
    (Optional):

    Code:
    php_admin_flag register_globals on  
    Restart your Apache

    3. You have run Apache2 and suphp and ispconfig

    You create a Order in /var/www/mysite/php4/


    and copy /etc/php4/cli/php.ini to /var/www/mysite/php4/

    You must edit /var/www/mysite/php4/php.ini and set register_global= on

    and set in ispconfig under

    Apache Direktiven
    (Optional):

    Code:
    suPHP_ConfigPath  /var/www/mysite/php4/
    Restart Apache2 and testing mysite you can create a file phpinfo.php
    and write in this and save

    Code:
    <?PHP
    phpinfo();
    ?>
    Open www.mysite.de/phpinfo.php

    4. You can patch the Shop

    Here is a link for files

    http://www.oscommerce.com/community?contributions=&search=register+globals&category=5
     
    Last edited: Mar 10, 2007

Share This Page