as I was not able to find a function which retrieves the amount of lines a file has, do I need to use
$handle = fopen("file.txt");
For($Line=1; $Line<=10; $Line=$Line+1){
fgets($handle);
}
If feof($handle){
echo "File has 10 lines or more.";
}Else{
echo "File has less than 10 lines.";
}
fclose($handle)
ya da benzer bir şey? Dosya 10 satırdan fazla ya da değil :-) varsa ben bilmek istiyorum hepsi bu.
Şimdiden teşekkürler!