php de dosya arama yapmak istiyorum bi tane buldum ancak aramada sıkıntım var
bu kodda adobe .pdf adlı dosya yı bulamadı
Bu psd düzenleyemedim hata oluyo yardım http://www.psdup.com/kategorili-arma-kutusu-csshtmlpsd.html
PHP:
<?php
if (empty ($ara) ): ?>
<form action="<? echo $php_self; ?>" method="post">
<input type="text" name="ara">
<input type="submit" value="ara">
</form>
<?
else:
$klasor = "/yeniß" ;
$klasor_ac = opendir ($klasor);
while ( $file = readdir ($klasor_ac ) ) {
if (stristr ($file, ".php") || stristr ($file, ".htm") ) {
$ac[$i] = @fopen ($file, 'r');
$oku[$i] = fread ( $ac[$i], filesize ($file) );
if ( eregi ($ara, $oku[$i] ) ) {
echo "$file<br>\n";
}
}
$i++;
}
closedir ($klasor_ac);
endif;
?>
Bu psd düzenleyemedim hata oluyo yardım http://www.psdup.com/kategorili-arma-kutusu-csshtmlpsd.html