note 66394 added to function.strpos
| From: | itportal at gmail dot com | Date: | Sun, 21 May 2006 05:15:59 +0000 |
| Subject: | note 66394 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111752@lists.php.net to get a copy of this message | ||
Hello,
I have strange problem. I use the strpos function and it works fine on my local server. But when I
upload the file to my US server, it doesn't work well and always returns FALSE.
Notice that I use strpos() to search in cyrillic strings. When I don't use cyrillic string, it
works well on both servers.
Isn't strpos() binary-safe? What should I do in order to make it work?
----
Server IP: 195.149.248.161
Probable Submitter: 87.126.86.136
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.strpos.php
Edit -- http://master.php.net/note/edit/66394
Del: integrated -- http://master.php.net/note/delete/66394/integrated
Del: useless -- http://master.php.net/note/delete/66394/useless
Del: bad code -- http://master.php.net/note/delete/66394/bad+code
Del: spam -- http://master.php.net/note/delete/66394/spam
Del: non-english -- http://master.php.net/note/delete/66394/non-english
Del: in docs -- http://master.php.net/note/delete/66394/in+docs
Del: other reasons-- http://master.php.net/note/delete/66394
Reject -- http://master.php.net/note/reject/66394
Search -- http://master.php.net/manage/user-notes.php