simple register script and xml extras

Discussion in 'PHP' started by Alex Petrus, Jul 16, 2013.

  1. #1
    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):
     
    Alex Petrus, Jul 16, 2013 IP
  2. GuiltyCrown

    GuiltyCrown Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    For the login script you can't expect us to just copy paste it to you do you? :p

    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
     
    GuiltyCrown, Jul 16, 2013 IP
  3. terrymason

    terrymason Well-Known Member

    Messages:
    727
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    145
    #3
    User Cake is a great php registration system
    http://www.usercake.com
     
    terrymason, Aug 12, 2013 IP