I want to do a simple php script with the folowing: register / login option when user is logged in the script display some informations from a xml file. example: <xml> <name>John Doe</name> <user>johndoe</user> <password>password</password> <information>This information to be displayed after the user is logged in</information> </xml> Code (markup):
For the login script you can't expect us to just copy paste it to you do you? http://forum.codecall.net/topic/36372-simple-register-login-logoff-system/ Here's a good tutorial for that. As for the XML you can use SimpleXML from PHP, it's already embeded into PHP, you don't need to add something to your scripts: http://www.w3schools.com/php/php_xml_simplexml.asp