CrewwlerTest Page return urlcrw.php
load($target_url);
$i=$j= -1; // تحميل من سلسلة نصية
foreach($html->find("a") as $a3) { //بداية اللوب
$ltxt= strip_tags($a3->outertext); $j++ ;
$lnk[$j] = $a3->plaintext ;
$link[$j] = $a3->href ;
$pos = strpos( $link[$j] , $hthome ) ;
if ( $pos === true )
$text[$i++] = ' '.$ltxt.''; else
$text[$i++] = ' '.$ltxt.''; }
$i = $j = 0 ;
echo 'Link List
' . count($link) . '
'; $h=0;
echo ' ';
foreach( $link as $link2 )
{ //$link2=explode('?',$link2); $link2=$link2[0];
if (!rep($link2)) {
if ( !strpos($link2 ,$hthome) ) // ''.ادا الرابط لا يحتوي على دومين
{ // 'echo ' Inner
http://'.$hthome.'/'.$link2; $h++; continue;
} if ( strpos($link2,$hthome) == true ) //ادا الرابط محلي
{ // 'echo $link2."
";$h++;
} elseif( preg_match('/\bhttp\b/', $link[$j] ) ) // تحديد ادا الرابط صحيح
// strpos( $link2 , 'http' ) == true
{ // echo ' '. $link2 ."
";
$h++; } }
$j++;
} // نهاية اللوب
echo '
';
echo 'txt
';
foreach( $text as $txt ) { if (!rep($txt)); echo utf8($txt).'
'.PHP_EOL; }
echo '
'.$h.' Links on Page Loaded In '.excute().' Seconds
';
?>
fgets( $rh)
if ( fwrite( $wh, fread( $rh, 4096 ) ) === FALSE )
echo
.""
echo "";