Can someone please help when I open the site i get the following:
register_globals is On (warning, you should have this param in Off state, or your site will unsafe)
Can someone please tell how to turn it off
Thanks Carl
Can someone please help when I open the site i get the following:
register_globals is On (warning, you should have this param in Off state, or your site will unsafe) Can someone please tell how to turn it off
Thanks Carl |
This is a setting thats is changed in the php.ini file on your server. https://www.deanbassett.com |
Deano Many thanks for your help, but i need a little more from you.
What file am I looking for. Where will I find it. you say in the root.
I can not find any file php.ini
Thanks Carl
|
You are looking for the php.ini file. It;s located on the root of your server. Meaning _public_html directory, if you don't see one there, that means you can create one or contact your host to make the changes...If you don't how to ceate one, here is a site which expains..Go to site |
the root folder means where your website is located. The top level directory rather than a sub directory. IE. path to your site like /home/user/public_html https://www.deanbassett.com |
Thanks chaps, I will have a go and see what happens.
Regards Carl |
Hiii the simple way to do this is to male php.ini in the simple notepad just put this in notepad and save like php.ini [PHP] register_globals=OFF After this ,just upload in folders where you have index.php That might be main folder where is you site istaled, and in admin folder That's it :)
|
make* php.ini :) :) :) Sorry for bad spelling :) |
Thanks to you all for your help but i still can not get this to work. I am sure that I am doing something wrong.
I have made the file php5.ini and included the following: register_globals=off i have put it in the root direc but it is still not working. my site is www.oobys.com
any more help from you pro's on this.
Thanks Carl |
Can someone please help when I open the site i get the following:
register_globals is On (warning, you should have this param in Off state, or your site will unsafe) Can someone please tell how to turn it off
Thanks Carl you can also create a file and name it php.ini and then enter the coding for the error example "register_globals off" and then save it and then upload it to the main directory of your site and that should take care of the error. |
Can someone please help when I open the site i get the following:
register_globals is On (warning, you should have this param in Off state, or your site will unsafe) Can someone please tell how to turn it off
Thanks Carl you can also create a file and name it php.ini and then enter the coding for the error example "register_globals off" and then save it and then upload it to the main directory of your site and that should take care of the error. |