Re: detecting a leading hyphen from post data
| From: | LacaK | Date: | Sun, 20 Mar 2005 17:59:14 +0000 |
| Subject: | Re: detecting a leading hyphen from post data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211138@lists.php.net to get a copy of this message | ||
sorry correct is :
if (strpos($string,"-")===0) //3*= exact match, first char is index 0 not 1
!