Results 1 to 7 of 7

Thread: PHP register_global setting
      
   

  1. #1
    Moraldi is offline Corporal
    Join Date
    May 2008
    Posts
    17

    Default PHP register_global setting

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

    Thanks!

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  3. #3
    Moraldi is offline Corporal
    Join Date
    May 2008
    Posts
    17

    Default Re: PHP register_global setting

    few words, great help! thanks!

  4. #4
    Moraldi is offline Corporal
    Join Date
    May 2008
    Posts
    17

    Default Re: PHP register_global setting

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

    http://www.vodahost.com/vodatalk/cpa...-security.html

    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?

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  6. #6
    Moraldi is offline Corporal
    Join Date
    May 2008
    Posts
    17

    Default 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

  7. #7
    Moraldi is offline Corporal
    Join Date
    May 2008
    Posts
    17

    Default 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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49