Jump to content

POST / GET / REQUEST-ing data


matfish

Recommended Posts

Hi-ya,

Is POST better than GET in regards to a login script? Obviously GET you can enter the string in the brower address bar but they would need the correct username/password and ID's, but is there a way around POST? With post - it doesnt allow you to do that in the address bar?

Thanks
Link to comment
Share on other sites

Post requires a form using method=post, so it should be 'safer' than get I guess, but as long as you check the username and password typed by the user for bad input, there should be no problem.  I mean the only difference in this case would be that they hadn't typed the username and password into the boxes.  One other thing, if your login check is on a separate page, then unless they know the name of the page then no one can really do much
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.