dswe30290 2009-05-30 00:38
浏览 12

如何将php和C ++混合用于用户身份验证?

Hello i'm making a program to get the names of users on my website and use that log for my programs so only registered people can login. How would I go about doing this?

  • 写回答

1条回答 默认 最新

  • dt888999 2009-05-30 00:46
    关注

    It sounds like you're paying too much attention to the choice of tools you're going to use, before you know what you're going to do. What I would suggest is:

    1. Decide what you want to do. If you're going to authenticate logins against a user list of some sort, state exactly what you want to do.

    2. Once you know what you want to do, decide how you are going to do it. Have a look at other solutions, such as HTTP Basic authentication, or using cookies, or some other method, and decide which method is best for your needs.

    3. Once you have a thorough understanding of how you want to implement your solution, you can decide on which tools you would like to use. Again, evaluation of other existing solutions will help you in this decision.

    4. Implement your solution, following your plan in (2).

    评论

报告相同问题?

悬赏问题

  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c