Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can OS Commerce be used without Register Gobals


zandebar

Recommended Posts

Posted

Hiya

 

Can OS Commerce be used without Register Gobals turn ON ?

 

If so, how do I configure OS Commerce to work without Register Globals ?

 

Please HELP or post LINKS to relevent pages

 

 

Thankyou

Posted
Yes, just include a php.in file with register globals set to on. There are dozens of examples in the forums that you can look for the details if needed.

 

Jack

 

 

Hi Jack

 

 

Thanks You for answering the question... As I am new to this I can be a bit thick when it comes to the basics, So please forgive me.

 

I have found this in the Contributions part of the site.

 

 

Register Globals

 

This is a patch that will remove the need to enable 'register_globals' in the php.ini file. In fact, once it is applied,, register_globals MUST be disabled otherwise it will not work.

 

Read the README file for details

 

Feedback on this is highly encouraged.

 

 

I have installed the patch still not working, and I cannot find the readme file or the help file in this area of the installation.

 

Can you point me in the right direction, as seaching the site is not helping as well

 

;)

 

best regards

Posted
Did you look in the ?

 

Jack

 

Hi Jack

 

Thanks for that, I finally found the correct patch update and has the patch_instructions directory inside.

 

Great Now I can get on with it...Cheers

 

This question is open to all

 

May seem like a daft question, but where is php.ini located coz I have hunted high and low for it.

It's deffo not in the os commece dir as I have searched for it. As I am supposed to amend an entry in the file,

would be useful to know where it is ;) :rolleyes: ;) lol

 

Also my hosting company wise as they are won't switch on register globals :thumbsup: ain't they GOOD so no security holes in them, I feel safe and secure lol :lol:

 

So which brings me to the question is it a file I can edit in my control pannel. tis cpannel if anyone knows it or in the root of my site dir ?

 

any thoughts

 

Best Regards

 

Michael

Posted

If you install the Register Globals patch, you don't need the php.ini file. If you want to run with php.ini on, then you do need it. The php.ini file won't exist in your shop. You need to add it. Just create a file and name it php.ini. Add register_globals = on in it and upload it to your root directory.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
If you install the Register Globals patch, you don't need the php.ini file. If you want to run with php.ini on, then you do need it. The php.ini file won't exist in your shop. You need to add it. Just create a file and name it php.ini. Add register_globals = on in it and upload it to your root directory.

 

Jack

 

 

Hi Jack

 

Thanks for your Help I have got it working, so one problem solved lol :rolleyes: :thumbsup: but as you know I'll be facing other ones :'( lol :blink: :lol: lol

 

Cheers for all your help

 

Best Regards

 

Michael

  • 1 month later...
Posted
If you install the Register Globals patch, you don't need the php.ini file. If you want to run with php.ini on, then you do need it. The php.ini file won't exist in your shop. You need to add it. Just create a file and name it php.ini. Add register_globals = on in it and upload it to your root directory.

 

Jack

 

Jack,

 

Thanks for the eensy-weensie-teeny-tiny-yet-ever-so-crucial detail of placing the php.ini file in the site ROOT.

 

I host several sites in my server account. I was placing the file in the client's root folder and osCommerce's root folder to no avail. When I moved it all the way up, it works like a champ.

 

Thanks,

 

Eric

Archived

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

×
×
  • Create New...