hello to all
I want to know if it's possible to allow the # character nickname?
Here's what I have for now
return ( preg_match( '/^[a-zA-Z0-9_.!-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );
What should I add?
thank you
hello to all return ( preg_match( '/^[a-zA-Z0-9_.!-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) ); What should I add? |
Try this. https://www.deanbassett.com |
And test before putting into production as it may break something. I tried using space with user names; nicknames, and ran into problems with the uploader if I recall correctly. Geeks, making the world a better place |
a big thank you it works |
Hello, |
Yea. I should have remembered this. https://www.deanbassett.com |
And that will go for other special use characters like the question mark (?). Geeks, making the world a better place |
& ampersand as well is another one that can't be used. https://www.deanbassett.com |
And that will go for other special use characters like the question mark (?). of course.. ManOfTeal.COM a Proud UNA site, six years running strong! |
ok thank you for your help everyone! |