Converting a site utilizing REGISTER GLOBALS need help
Posted: Thu Mar 04, 2010 2:40 pm
Hello, first off I love this site there is so much knowledge here it's crazy. When I am more skilled at PHP I would love to give back.
On to my topic. I have a site I inherited management for. It is built in PHP and uses an older version PHP 3.xxx. When they built this site they used REGISTER GLOBAL and now my host (!@hoo.com) has stopped supporting that. Which is a problem for my client. I have been tasked with fixing this and frankly it is only one directory affected by this and I simply do not have a clue where to start.
The site seems to work fine accept for this one item. The original builder used a database (mySQL) driven login system for users but for the ADMIN portion of the site he seems to have used .htdoc/.htpsswd/ something because the login prompt I get when I access this particular section of the site is in a popup box and I can't seem to locate where the login and passwords are being stored. So since they do not exist in the database then I am assuming they are scripted in an .htpsswd file somewhere.
Overall I need help in changing the ADMIN sections reliability on REGISTER GLOBAL and fix the site.
***Note *** The problems started happening the day Yahoo turned off register globals. Also i can log into the ADMIN section but when I click update on anything it will not commit the changes to the data.
Please help!!
On to my topic. I have a site I inherited management for. It is built in PHP and uses an older version PHP 3.xxx. When they built this site they used REGISTER GLOBAL and now my host (!@hoo.com) has stopped supporting that. Which is a problem for my client. I have been tasked with fixing this and frankly it is only one directory affected by this and I simply do not have a clue where to start.
The site seems to work fine accept for this one item. The original builder used a database (mySQL) driven login system for users but for the ADMIN portion of the site he seems to have used .htdoc/.htpsswd/ something because the login prompt I get when I access this particular section of the site is in a popup box and I can't seem to locate where the login and passwords are being stored. So since they do not exist in the database then I am assuming they are scripted in an .htpsswd file somewhere.
Overall I need help in changing the ADMIN sections reliability on REGISTER GLOBAL and fix the site.
***Note *** The problems started happening the day Yahoo turned off register globals. Also i can log into the ADMIN section but when I click update on anything it will not commit the changes to the data.
Please help!!