I can give the strpos() a shot but I seem to have problem with getting the strpos() to give me two seperate "<!CDATA[[****]]>" tags instead of just hte first one only...
Scott "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Scott, > > Please dont post 500+ lines of stuff to the list. You only > needed to post the relevent code relevent to the subject at hand. > > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > > > > for ($i=1;$i<strlen($res_str);$i++) > > > > { > > > > if (substr($res_str, $i, 9) == "<![CDATA[") > > You should really use strpos() instead of looking for this in php, it > will increase the performance of your script. > > > Curt > -- > "My PHP key is worn out" > > PHP List stats since 1997: > http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php