Home     PHP / Javascript / Ajax
PHP Validate string Script

PHP Script Codes > error-handling

validate string Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2837

PHP Script Codes > validate string
I wrote this function to intercept strings that would not make good user names due to the presence of invalid url characters. If the string contains no invalid characters, the function returns true, if it does, it either returns false or a formatted string containing all the invalid characters.