Re:
| From: | Eric | Date: | Thu, 22 Sep 2011 16:25:26 +0000 |
| Subject: | Re: | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-314984@lists.php.net to get a copy of this message | ||
Thanks Very much I used,
preg_match('/[[:punct:]]/', $_POST['username']) !== 0
and it works without errors. The reason I can't just use
is_file which I wish I could is because windows doesn't allow question marks
or some wierd character. It decides to not allow php to make the file if there
are odd ball characters. It is a very unfortunate mistake in my code that I
wish php would ignore and just make the file "?".