monkeytooth Posted November 19, 2008 Share Posted November 19, 2008 Dont know if im thinking of the right thing so before I go mucking something up I thought I'd hit the board again.. I want to take any letter number char combination and replace it all with x or * or - or something other then what it is, all the same thing though to "hide" password so to speak when people are on a certain page on this site im working on that pertains to there account settings anyone? Link to comment https://forums.phpfreaks.com/topic/133375-solved-str_replace/ Share on other sites More sharing options...
premiso Posted November 19, 2008 Share Posted November 19, 2008 Why not just count the password string with strlen then str_repeat whatever character you want with how long the password string is? Link to comment https://forums.phpfreaks.com/topic/133375-solved-str_replace/#findComment-693687 Share on other sites More sharing options...
monkeytooth Posted November 19, 2008 Author Share Posted November 19, 2008 Cause today I am slow.. I was just starting to think about that notion and you mentioned it and hit it on the head, so with that.. thank you, and I am off to do so :-) Link to comment https://forums.phpfreaks.com/topic/133375-solved-str_replace/#findComment-693690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.