rickcrawley Posted January 24, 2010 Share Posted January 24, 2010 when dealing with web forms like registration forms, login forms, to be the most secure, should i use the php POST method instead of the GET method because GET displays the login info in the url so it's less secure right? But is it actually possible to make for example an entire login form using the POST method, so a user types in their username and password,sent to server to verify username&password is correct, then redirects user to their account settings page? Can the POST method send and retrieve data? Or can POST only send data and GET is needing to retrieve it? Link to comment https://forums.phpfreaks.com/topic/189609-php-post-method-vs-php-get-method-for-forms/ Share on other sites More sharing options...
jl5501 Posted January 24, 2010 Share Posted January 24, 2010 POST and GET can do exactly the same things when being processed on the server. The only differences are, the visibility you mentioned and which 'super_global' array, php sees them in. Link to comment https://forums.phpfreaks.com/topic/189609-php-post-method-vs-php-get-method-for-forms/#findComment-1000745 Share on other sites More sharing options...
rickcrawley Posted January 25, 2010 Author Share Posted January 25, 2010 POST and GET can do exactly the same things when being processed on the server. The only differences are, the visibility you mentioned and which 'super_global' array, php sees them in. I thought i read that GET enables a user to use the back button on their browser to load from the cache and POST doesn't. Is this true? Link to comment https://forums.phpfreaks.com/topic/189609-php-post-method-vs-php-get-method-for-forms/#findComment-1001056 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.