Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 07:10 am EDT

Geeklog Forums

turning off register_globals


Status: offline

deek

Forum User
Junior
Registered: 06/03/05
Posts: 34
So I am running the website for my College's rowing team CSU Crew recently there was some troubles with the gallery and this stupid phpinclude.ru crap so I decided to upgrade the whole site from 1.3.11 to 1.4 and using Media Gallery v1.2.1 instead of Gallery 1.5. Now I don't have access to the php.ini to turn of register_globals, how do I do this otherwise? Can I use .htacess? If so will I have to an a .htaccess to all folders on the site?

Second question is this, I have never done a upgrade before, only fresh installs. What are some suggestions from people as to making sure that all my beautiful little additions to my layout and plugins don't break?

Cheers,
deek
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The FAQ (which should really be updated to include 1.4.0 ...) lists a statement to turn register_globals on via .htaccess. If you're allowed to use that, it should also work to turn it off.

bye, Dirk
 Quote

Status: offline

deek

Forum User
Junior
Registered: 06/03/05
Posts: 34
Ok upgraded to 1.4 and its working fine. I put the php_flag register_globals off in the .htaccess file in my /path/to/geeklog/public_html directory. How can I check that it is in fact off?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Use the file admin/install/info.php that came with Geeklog and search for "register_globals". Or create a new file that contains only
Text Formatted Code
<?php phpinfo(); ?>
 
which does the same thing.

bye, Dirk
 Quote

All times are EDT. The time is now 07:10 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content