0,0 → 1,30 |
<?php |
|
$files = glob(__DIR__.'/../*.htm'); |
$files = array_merge($files,glob(__DIR__.'/../doc/*.htm')); |
$files = array_merge($files,glob(__DIR__.'/../gestion/*.htm')); |
$files = array_merge($files,glob(__DIR__.'/../errors/*.htm')); |
|
foreach ($files as $file) { |
|
if (strpos($file,'captured-standards') !== false) continue; |
if (strpos($file,'/TD') !== false) continue; |
if (strpos($file,'/doc/iso-') !== false) continue; |
if (strpos($file,'/doc/bosn010_object-identification-and-registration.htm') !== false) continue; |
if (strpos($file,'/doc/OID-tutorial.htm') !== false) continue; |
|
if (filesize($file) > 1*1024*1024) continue; |
|
$content = file_get_contents($file); |
|
for ($i=0;$i<strlen($content);$i++) { |
$c = $content[$i]; |
if (ord($c) > 0x7F) { |
echo "$file\n"; |
echo $c; |
echo substr($content,$i,$i+10); |
} |
} |
} |
|
echo "Done.\n"; |