View Single Post
  #3 (permalink)  
Old February 16th, 2010, 04:44 AM
plugnz plugnz is offline
Authorized User
Join Date: Feb 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts

hey there,

Even weirder- I have had the useraccount.php working fine until I tried to set up the admin page! The first time I tried to modify a users details in the administrators login I ended up with that users name as the logged in name and since then once logged out any user that is logged in again it wont show any user name - till I try to modify a user acount then end up with that users name again..... I'm using Xampp with apache 2.4.14 AND PHP 5.3.1 on windows. Have checked php.ini and register globals is st to off. I've always had the $name changed to $username anyway and tried moving include header to the top as suggested above.....but alas still the same prrblem. I have to say I have modified the script from the book to fit into my own site so will now see if the same thing occurs using the code straight from the book.
Reply With Quote