how to read the tamil words from the text file using php
my php code is:
<?php
$fp=fopen("file2.txt","r"
;
while(($c=fgets($fp))!="-1"
{
echo $c;
}
fclose($fp);
?>
my input file is:
விதைக்குள் மரம்,
அதன் கீழ் நிழல்,
அது வேண்டி பலர்...
அதன் கனி வேண்டி மழலை....
அதில் இடம் வேண்டி பறவை....
அதில் பல வேண்டி இன்னும் பலர்....
அதில்
வருங்காலம் நோக்கி
பெரும் நிகழ்வு உண்டு......
my output is look like this:
������������ ����, ���� ���� �����, ��� ������ ����... ���� ��� ������ ����.... ����� ���� ������ ����.... ����� �� ������ ������� ����.... ����� ���������� ������ ������ ������� �����......
Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\read_whole_lline.php on line 3
please give solution for me