iarp Posted December 30, 2008 Share Posted December 30, 2008 Is there any real difference between using type="text" or type="password" ? Someone told me the browser handles it differently because its supposed to me more secure.. but its still handled by regular POST or GET. Link to comment https://forums.phpfreaks.com/topic/138938-input-type-password-special/ Share on other sites More sharing options...
MatthewJ Posted December 30, 2008 Share Posted December 30, 2008 The password type masks the text... that's a bit more secure than someone reading my password over my shoulder. Link to comment https://forums.phpfreaks.com/topic/138938-input-type-password-special/#findComment-726627 Share on other sites More sharing options...
xtopolis Posted December 31, 2008 Share Posted December 31, 2008 It is still sent as plain text unless you do things like SSL to protect the connection. Link to comment https://forums.phpfreaks.com/topic/138938-input-type-password-special/#findComment-726646 Share on other sites More sharing options...
RussellReal Posted December 31, 2008 Share Posted December 31, 2008 yeah.. <input type="password" name="password" id="p" /> document.getElementsById("p").value will return normal text not the ****s the reason its considered more 'secure' is because it disallows nosy people from seeing your passwords.. Link to comment https://forums.phpfreaks.com/topic/138938-input-type-password-special/#findComment-726649 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.