|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-12 17:00 UTC] sniper@php.net
[2003-01-27 22:40 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
foreach ($urls as $k){ $start = ''; $online = strip_tags(implode(" ",@file($k))); $trans = get_html_translation_table (HTML_ENTITIES); foreach($trans as $key=>$var){ $story = str_replace($var,$key,$online); } $start = strpos($story,$keywords[$i])+strlen($keywords[$i]); $uo[$i] = trim(substr($online,$start,3)); $i++; } i use this little script with php 4.2.2 to parse other web communities to collect data inside a database who many users are online. After updating the php version, this script produces with an array of four elements three correct results and one trash result?