tamil in php
Posted by: shunmugapriyan (223.231.221.---)
Date: March 30, 2013 06:56AM

how to read the tamil words from the text file using php

my php code is:

<?php
$fp=fopen("file2.txt","r"winking smiley;
while(($c=fgets($fp))!="-1"winking smiley
{
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

Options: ReplyQuote
Re: tamil in php
Posted by: RiggsFolly (---.as13285.net)
Date: April 02, 2013 12:32PM

Please show your HTML. From the top to the end of the </head> section

Options: ReplyQuote


Sorry, only registered users may post in this forum.