Our website uses cookies to personalise content, keep contents in your shopping cart and as part of the checkout experience.
Your personal information you provide will be transfered and stored as encrypted data.
You have the ability to update and remove your personal information.
You consent to our cookies if you continue to use this website.
Allow cookies for
Necessary Cookies Necessary Cookies cannot be unchecked, because they are necessary for our website to function properly. They store your language, currency, shopping cart and login credentials.
Analytics Cookies We use google.com analytics and bing.com to monitor site usage and page statistics to help us improve our website. You may turn this on or off using the tick boxes above.
Marketing Cookies Marketing Cookies do track personal data. Google and Bing monitor your page views and purchases for use in advertising and re-marketing on other websites. You may turn this on or off using the tick boxes above.
Social Cookies These 3rd Party Cookies do track personal data. This allows Facebook, Twitter and Pinterest integration. eg. shows the Facebook 'LIKE' button. They will however be able to view what you do on our website. You may turn this on or off using the tick boxes above.
UCOFSILVER Member 15,417 posts Location: South Wales
Posted: Anyone any good at PHP?
Im having problems setting "register_globals" to off, and cant figure how, where or why.
Its set to "0" in php.ini, but im still being told it is "on"
Anyone?
mechBRONZE Member Carpal \'Tunnel 6,207 posts Location: "In your ear", United Kingdom
Posted: where about is your php.ini held, if its not at top level dir, you would need to have a php.ini file in each of teh dirs that are dishing out php
if you have a look in joomla at the system setting page (in one of the menus across the top, you will be able to see where you php.ini file is being run from, and i would suggest that as you are on a shared server, that its not accessible to you, but only to the admin of the server, and to te apatche host.
Step (el-nombrie)
UCOFSILVER Member 15,417 posts Location: South Wales
Posted: Do you mean system -> system info?
The php.ini is in the top level directory, with and the logs folder. Makes no differnce as to wher it is, or if I edit .htaccess, it still says "register_globals" is set to "on".
Ive created a ticket with the hosts and I'll see if they can sort it out.
YakumoSILVER Member veteran 1,237 posts Location: Oxfordshire, United Kingdom
Posted: I've been looking at it it's a pig, it's ignoring the php.ini the host provided in the hosting directory root (have also tried site root to be sure). if that was a user loaded file I wouldn't be surprised, but they put it there.
tried disabling and re-enabling php to kickstart it, no joy, it might kick in with an IIS restart, but normally php would check it as the processor is called, so as you load a page.
and it's IIS without the htaccess compatibility mods, so they don't help. could add it to the global includes for joomla but it's not really a secure fix and he'd have to check it any time they patch joomla.
Blinded by Hyperlights, please donate generously
UCOFSILVER Member 15,417 posts Location: South Wales
Posted: I got the Php.ini file from here as stated in section 7 of this
YakumoSILVER Member veteran 1,237 posts Location: Oxfordshire, United Kingdom
Posted: oh, i thought it'd been provided, well it's been settup to ignore user ini's on the server anyway.
Blinded by Hyperlights, please donate generously
Similar Topics
Using the keywords [php required] we found the following existing topics.