webgrrl Posted August 3, 2007 Share Posted August 3, 2007 Wondering if anyone can help me. I want a script that will check if the value of a text field is an actual word or if it is just random digits eg gdfgawgwre is there a way of doing this? i have looked at pspell but i don't care if the words spelt correctly just as long as it isn't random letters/numbers. i'd appreciate any help. Link to comment https://forums.phpfreaks.com/topic/63183-check-input-field-not-random-letters/ Share on other sites More sharing options...
Vizor Posted August 3, 2007 Share Posted August 3, 2007 It's hard to check for this sort of thing unless you were to actually compare it with every word in the dictionary, there is a php extension that allows you to check the percentage probability of a word being random. What is the input field for? If it's something like an email it could be checked for certain things like @. Link to comment https://forums.phpfreaks.com/topic/63183-check-input-field-not-random-letters/#findComment-314913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.