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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:24:58+00:00 2026-06-12T02:24:58+00:00

Okay, I am working on an admin panel right now, so I came across

  • 0

Okay, I am working on an admin panel right now, so I came across stumbling, kind of.

Form: http://pastebin.com/D8Dt6zP5

Processing Page: http://pastebin.com/FpXSziPM

Now, onto the problem, I just used 403 Forbidden header when the expected values weren’t found in the $_GET, but, when thought for, it isn’t really an action that requires login(not for this, ofcourse a user have to login to view the admin panel in the first place), it’s more like an unexpected value input.

So I have gone and made a research, in the brief explanations of each, I elected these headers which might be suitable.

I refer from this, looking out by groups of each status code, this should belong in 4XX codes.

So going deeper, and I elect these two:

400 Bad Request: The request cannot be fulfilled due to bad syntax

417 Expectation Failed: The server cannot meet the requirements of the Expect request-header field

Now, I cannot be really sure which one to use, I have seen 400 Bad Request being used alot, however, whatI get from explanation is that the error is due to an unexistent request rather than an illegal input.

On the other side 417 Expectation Failed seems to just fit for my use, however, I have never seen or experimented this header status before.

As I side note, as of the explanation in Wikipedia for 403, I can see it’s extremely wrong for this, like I thought, I should probably be using 401 for the views without login, and 403 for a logged user which doesn’t have access to a certain area.

So I really need your opinions, thanks by now.

Regards, TheDeadLike.

  • 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-12T02:25:00+00:00Added an answer on June 12, 2026 at 2:25 am

    I have found my answer; thanks for the interest.

    You can see the answer here.

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

Sidebar

Related Questions

Okay, this is very weird... http://connecttofriends.com/admin/login I'm writing an administration control panel and am
Okay so I'm working on an admin panel, in which everything should always be
Okay, I've been working on this for days now and I can't find any
I am setting some values at the option page. This is now working okay.
I'm using the below code for a rollover effect, seems to be working okay!
Okay I'm working in jQuery mobile, and I just put in a PHP script
Okay, so I'm working on a java server for an Apps backend, it must
Okay, so I'm working on a memory editor in c++, I have a list
Okay, I am working on a card playing program, and I am storing card
Okay, I've been working through a set of string replacments for bbcode style tags

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.