and I think I will go to bed now....
/Martin
Mike Migurski wrote:
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