>When I use the function bellow, and there is no occournce of the control
>word, strpos shoul return false, but instead i returns 1, which is not
>the intention. Does anybody here have an idea about what I am doing
>wring???

You're adding the one:

>$position = strpos($this->fileContent, "\\".$word, $position) + 1;

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to