PDA

View Full Version : Need help!


neotheone
05-03-2006, 07:16 PM
Hi,

I'm having a problem and I guess it's something wrong with my MySql database. I have a website where users need to register in order to login.

Everything was working fine, but recently my webhost had some upgrade and my folder changed from "home2" to "home", but I'm not sure that this is the problem.

Now, the new accounts are not created. The register form works fine, and appearently the account is created, but if I click to My Profile the data I completed is not there. Only the password appears but it's not the password I completed in the register form, it's the password from my Database.

I also uploaded the website to a different webhost, but when I try to access the homepage, it shows like I'm already logged in, although I didn't and at the profile page, again, only a password... the database password.

If you have any idea what could be wrong, please help me.

raf
05-03-2006, 08:17 PM
welcome here!

please read the posting guidelines ( http://www.codingforums.com/postguide.htm ) and choose a more descriptive title.

to get some help, you better post this in the forum for the server side scripting language that you are using (like PHP) and then select one problem you would like help with + also post the relevant code.
from your description, and assuming you use PHP, my first guess would be that your host set register_globals to 'on' which could explain why the entered password is replaced by your db-password.