Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7739701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:35:15+00:00 2026-06-01T08:35:15+00:00

In a project for school I need to send xml data to the client

  • 0

In a project for school I need to send xml data to the client that logs in(using php). I`m on the server side so I will need to answer requests(using post) and act accordingly. This project is a kind of a mini-tweeter.

For example:

<xml version="...">
   <response>log-in</response>
   <parameters>
      <error>error_id</error_id> 
      <session>adsvcv</session>
   </parameters>

where error_id is 0,1,2 – 0 begin success, 1 -invalid user, 2- invalid pass

the client sends a request like this:

<xml version="...">
    <action>log-in</action>
    <parameters>
        <username>Tommy</username>
        <pass>abcd</pass>
    </parameters>

And I dont know where to start, never having used XML until now.
So I would kindly ask you to guide me in the right direction.
Thanks for your time in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:35:17+00:00Added an answer on June 1, 2026 at 8:35 am

    I would start by googling for XML parsing in PHP. There are some functions that make it really easy.

    After that, you can start designing the interaction between the parts of the program with something called a “state diagram.” It doesn’t need to be fancy. It’ll just help you keep organized. You can start by drawing a tall box for each part of your program and then lines between the different parts to show how information gets passed between them. You can even fix bugs in this stage.

    After that it should be a bit easier to know what functions you need, and what information they’ll use. 🙂

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the problem... For school project I need to write parallel application using
I'm using clj-oauth for a school project where I am creating a desktop client
I'm working on a project for school and need to sort some data. I've
For a school project, we need to create a fairly simple app using C++
For a school project, I need to make a simple paint application that can
For a school project I need to create a program and it'd be nice
For a school project i need to write or use a online programming editor.
For a school project, I need to create a way to create personnalized queries
For a school project we're developing a game that's a little like Conway's game
For my school project, I would like to build a gui that someone else

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.