Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Programming

  • 13-05-2011 11:30am
    #1
    Registered Users, Registered Users 2 Posts: 45


    Hi I have a html page and it asks for a username and i want to store it on a xml page


Comments

  • Registered Users, Registered Users 2 Posts: 757 ✭✭✭Signpost


    Not being smart but with that much info you may aswell have written
    "I have a dog and 7 cats. Who can answer my question?"

    At a guess it is something like this you want to do?
    http://www.w3schools.com/Xsl/xsl_editxml.asp


  • Registered Users, Registered Users 2 Posts: 45 Gary Norris


    sorry about that dont post stuff much i`ll look at that cheers


  • Registered Users, Registered Users 2 Posts: 757 ✭✭✭Signpost


    If you just explain exactly what you want to do be loads of people here willing to help, and most of them would even know what there talking about!
    I'm guessing its some kind of login you want to do but why do you want to pass the value to an XML file?


  • Registered Users, Registered Users 2 Posts: 45 Gary Norris


    Yeah thats it i want to login enter a username and password that will store on an xml file so I guess i need to know how to enter the username and get it to be stored into the xml file so basically i`m inputting the information into the xml file, hope that explains it


  • Moderators, Technology & Internet Moderators Posts: 11,017 Mod ✭✭✭✭yoyo


    Yeah thats it i want to login enter a username and password that will store on an xml file so I guess i need to know how to enter the username and get it to be stored into the xml file so basically i`m inputting the information into the xml file, hope that explains it

    Would it not be easier to use a database? You would need to use a language like PHP to process the data into a XML file, you'd be probably better off using a database though

    Nick


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 45 Gary Norris


    Yeah ok i`ll have a look up on databases
    Thanks


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Will each login be saving to their own XML file ?
    Will different people be able to edit the same XML file ?
    How will you present the XML file to allow editing and adding of tags, etc ?
    If the XML file is "writeable" on the server, what file and folder permissions will you use to make it relatively secure ?

    I reckon there's an awful lot more to what you're asking for than you think.


  • Registered Users, Registered Users 2 Posts: 757 ✭✭✭Signpost


    Don't even consider xml for what your doing man! DB all the way with it and be umteen times easier on you!
    Is it just a regular website you are building? Why not use just a simple CMS which will cover all these issues for you from the off?


  • Registered Users, Registered Users 2 Posts: 45 Gary Norris


    I guess the 1 xml file for all, with regards to the other things i dont really know much about writing webpages


  • Registered Users, Registered Users 2 Posts: 757 ✭✭✭Signpost


    Can you explain what the website is for. A very general overview will do or even just PM me the basic concept. I would probably recommend you using a technology like wordpress if your not overly familar with web development.


  • Advertisement
  • Closed Accounts Posts: 9,183 ✭✭✭dvpower


    Yeah ok i`ll have a look up on databases
    Thanks

    I'd forget about the db stuff for now. Just try and figure out how to get the username and put it anywhere - then decide where you want to put it (and how).
    One step a time methinks.


  • Registered Users, Registered Users 2 Posts: 45 Gary Norris


    I can enter a username i dont how i would but it somewhere else


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    I guess the 1 xml file for all, with regards to the other things i dont really know much about writing webpages

    That's the thing - what you're looking to do isn't really anything to do with "writing webpages"

    XML is - usually - for data feeds and data exchange between different systems.

    What will you be using the data for, and how ?


  • Closed Accounts Posts: 2,930 ✭✭✭COYW


    If you post up or PM, post preferably, a more detail description of what you are attempting to build in real world terms then people will be able to give you solid guidelines. Writing user log in related data to an xml file is unusual.


Advertisement