Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Registered Global Contribution


Knives

Recommended Posts

need some help here my webhost will not allow me to access the php.ini file they have stated that i have to install the contribution that allows you to turn the globals off, ive tryed doing this but its hard the instriction for the installiation are very confusing and im going to cry lol, if someone has got this working could you please copy and paste me the code for the file that need altering i no its a pain but it would be a real help

 

 

thanks

------------------------------------------------------------------------------------------------------------------------------------------------------

THE GREATEST BATTLE IN THE WORLD

Link to comment
Share on other sites

You need to add or replace a file named .htaccess in your root file with the next content (you can copy and paste it)

 

 

 

 

# $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>

Link to comment
Share on other sites

my hoster have told me that having registered globals on is a massive security risk and i have to install the contribution to disable them, i have that code in my htaccess but that wont work i need to install the registered globals contribution but its hard to understand that why if anyone has it working can they copy and paste me the code that i need to change because its hard to understand and i dont have it working

------------------------------------------------------------------------------------------------------------------------------------------------------

THE GREATEST BATTLE IN THE WORLD

Link to comment
Share on other sites

my hoster have told me that having registered globals on is a massive security risk and i have to install the contribution to disable them, i have that code in my htaccess but that wont work i need to install the registered globals contribution but its hard to understand that why if anyone has it working can they copy and paste me the code that i need to change because its hard to understand and i dont have it working

if you have a problem with the contribution perhaps you should check/post in the support thread. Other than that and in my opinion the instructions are straight-forward.

 

And you better specify the exact problem you're having when you post there. Otherwise...you know, the conversation stays in a general context.

Link to comment
Share on other sites

ok my bad the poroblem im having is that i cant get the contribution to work the instructions for it are very hard to understand if you dont no much about php. what im asking is that if anyone has got the contribution working can they send me or post the whole code from the files that need changing because ive tried it like 7 times and its just not working

------------------------------------------------------------------------------------------------------------------------------------------------------

THE GREATEST BATTLE IN THE WORLD

Link to comment
Share on other sites

ok my bad the poroblem im having is that i cant get the contribution to work the instructions for it are very hard to understand if you dont no much about php. what im asking is that if anyone has got the contribution working can they send me or post the whole code from the files that need changing because ive tried it like 7 times and its just not working

The whole code should be included with the contribution as far I remember. But that not the point. You need to state exactly where you stuck installing it. If you don't understand the documentation you need again to state what point you do not understand.

Link to comment
Share on other sites

dont worry sorted it there is anyother contribtuion with the files already edited, to be honest on the original registered globals contribution they should just use the other contribution that i found you dont have to edit it yourself there already done thanks for the help anyway friend

 

KNIVES

------------------------------------------------------------------------------------------------------------------------------------------------------

THE GREATEST BATTLE IN THE WORLD

Link to comment
Share on other sites

dont worry sorted it there is anyother contribtuion with the files already edited, to be honest on the original registered globals contribution they should just use the other contribution that i found you dont have to edit it yourself there already done thanks for the help anyway friend

 

KNIVES

You're way too general. These forums and their archives are only valuable if you take time to tell the rest of us what your fix was. Can you provide a link to the contribution you had success with or at least give it's name? Just saying you fixed it won't help others next year who may be searching the archives.

 

grissle

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...