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 6689701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:33:00+00:00 2026-05-26T05:33:00+00:00

I would like to allow users register and login so they can access more

  • 0

I would like to allow users register and login so they can access more functionality from the App.
There is a Server the app connects to for retrieve data, and register users would be able to write data to it also.

How do you manage registration and login in iOS?

1.- Is it easier to let the app do all the job in the server, checking and writing to a database of users?

2.- Is it better to write a php script to do the registering and login and then let the iPhone app send the info to the script in a post?

Sorry for the vague question but I am a bit lost in this area. I have read many posts, but have not clear understanding.

  • 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-05-26T05:33:01+00:00Added an answer on May 26, 2026 at 5:33 am

    It definitely is much better to write a PHP Script which the iPhone App can interface to with a simple API and sending the details as parameters in a POST request or PUT request (REST style API) rather than interfacing with the Server directly. In the PHP Script, you would do validation and the methods to enter the data into the Database.

    You would have an API coded in PHP (doesn’t need to be complicated) where you can pass in data through some sort of parameters. In your iPhone App, you would then create a native register form using UITextFields and the like and then once the User hits the register button, it will execute a POST request to send the data to the server and will get back a response which you can see if the data the User entered is valid. You can also do validation on the iPhone form before sending off (ensuring fields aren’t blank, confirm to some format) etc.

    Also, similar to register, for Login you could simply query a separate script to check if the credentials are valid which then could return a success or some sort of authentication token to use with future requests in your parameters.

    Always assume that the data sent could potentially be malicious, this is why you need to do validation within your PHP script to protect yourself securely

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

Sidebar

Related Questions

I would like to allow users to call my ruby on rails app as
I'd like to add some functionality to a site that would allow users to
I would like to allow users to access images saved in web folder. For
I would like to allow users to choose a Font Size from a ComboBox,
I would like to allow users to scroll a DataGrid horizontally even if there
I have a ASP.NET 3.5 web application and I would like to allow users
I'm using CKEditor and would like to be able to allow users to upload
I would like to create a simple file format/DSL which would allow my users
I am showcasing content in my iOS app and I would like users to
I would like to allow some users to be able to launch a voip

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.