-
Yahoo & unicode
this code work well
PHP Code:
<?
$x="Boy";
$url ="http://search.yahoo.com/search?p=".$x."&ei=ISO-8859-1&fl=0&x=wrt";
$string = implode("\n", file($url));
echo $string ;
?>
but when i change the word "Boy" to word in another language
it will not working ??
-
Re: Yahoo & unicode
have u tried changing the "ei=ISO-8859" in the query string to a unicode format?
-
Re: Yahoo & unicode
-
Re: Yahoo & unicode
What is not working, the script works fine for me :confused: Do you get any errors? any output?