adrian.pearce Posted July 10, 2008 Posted July 10, 2008 Hi i cant find where register globals is, i keep seeing it is in php.ini file, where can i find this file
MrPhil Posted July 11, 2008 Posted July 11, 2008 It's very possible that, if you never explicitly added a php.ini file, that one doesn't even exist yet on your system. If you've been looking and haven't found it, that could be the reason. Sometimes a system will set up a default php.ini for one reason or another. You're going to have to ask your hosting service where to place a php.ini file (if you have to create a new one, and if it's allowed). If you're on a Linux machine with Apache server, the usual place for a php.ini file is in the "root directory" (public_html/). Depending on other things (such as whether PHP security software is running), you may have to place an entry in your .htaccess file to tell the server where to find the php.ini file. Again, your host should be able to spell out all the details. Your subject line is "Register Globals", so I assume you're looking to turn RG's back on after your host has turned them off. Two notes: use of register globals ("on") is discouraged because they're something of a security risk, and recent "Release Candidate" versions of osC no longer require the use of RG's (they can be "off").
rose76 Posted July 11, 2008 Posted July 11, 2008 Thanks Mr. Phil you are giving detail information about the "Register Globals". It might some problem my computer. I will try once again. If anything happens I will post it here for my problem in php.ini file. When arise the problem I will inform you. Please keep in touch here. =================================== rose76 stop identity theft stop identity theft
Recommended Posts
Archived
This topic is now archived and is closed to further replies.