Announcement

Collapse
No announcement yet.

PHP register_global setting

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

  • PHP register_global setting

    Hi,
    Is there any way of checking the default setting for PHP register_global in my site?

    Thanks!

  • #2
    Re: PHP register_global setting

    Sure. Use phpinfo();

    Create a file in Notepad with the following content:

    <?php
    phpinfo();
    ?>



    Save As -> File Type: All files -> save it as info.php
    Upload it on your site and then type its URL in your browser: http//www.yourdomain.com/info.php

    It will display all PHP settings for your account.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment


    • #3
      Re: PHP register_global setting

      few words, great help! thanks!

      Comment


      • #4
        Re: PHP register_global setting

        Hi navaldesign,
        I set the register_globals off according to your tips in the thread below:



        for a folder with a Joomla! installation.
        Although the phpinfo() reports that the register_globals is OFF, the Joomla! insist that it is ON!!!

        Where is the truth?

        Comment


        • #5
          Re: PHP register_global setting

          phpinfo() is a built in function of php, can't be mistaken!

          Unless you have changed the permissions for one folder, and the Joomla routine that performs the check is in another folder.
          Navaldesign
          Logger Lite: Low Cost, Customizable, multifeatured Login script
          Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
          DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
          Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

          Comment


          • #6
            Re: PHP register_global setting

            Unless you have changed the permissions for one folder, and the Joomla routine that performs the check is in another folder.
            Not thought of that. I will check

            Comment


            • #7
              Re: PHP register_global setting

              Unless you have changed the permissions for one folder, and the Joomla routine that performs the check is in another folder.
              you were right navaldesign. The Joomla! was referring to the register_globals setting for the installation directory. Thank you!

              Comment

              Working...
              X