PHP.ini - cant login - cant see logged in details

Discussion in 'Programming' started by Kayz, Dec 5, 2008.

  1. #1
    Hi i have a custom php script which i have created myself, this works on another server fine.

    However this server requires me to use php.ini.


    Now when a new registered user wants to register it does not submit data into the database because registered_globals is set to off, so i enable it and it still does not work. I then notice that i am required to place it inside the "register" processing forms directory in order for it to work.

    So now my users can register, but when i log in it does not show their logged in usernames? I then placed the php.ini file in the root and it totally prevents any form of logging in, however when i remove it, it allows me to log in but i cannot see any information for that user which is called from the database.

    What can i do or what more do i need to do? There is nothing wrong with the PHP at all.

    Any pointers would be appreciated.
     
    Kayz, Dec 5, 2008 IP