Hi,

I transferred a folder from server A which consists web scripts (php) to another server i.e server B.

After creating the database just like in the server A, I managed to have the log in page ready. Then I exported the sql data from server A and imported it to server B and in the phpMyAdmin panel I can see the same data as what is in server A. (so far so good...)

The problem is that, the log in page at this new site (server B/hosting B) does not work the way it should. i.e. whenever I key in the user ID and password based on the imported sql data and press enter it goes back to the same log in page as if the ID and password has just been reset.

Can someone please help .....

Thanks,

Lim

Have you changed the host of the MySQL database in the code?

Yes Triztian, I've changed it and it is connected to the database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.