Posted by pasupathy on 05/19/07 02:37
Hello,
I need guidance from anybody here on this url file access disabled which
I thought can be overcome by using the Curl script.
here is the code :
file_get_contents("http://64.233.179.104/translate_c?hl=en&ie=UTF-8&oe=UTF-8&langpair=$lang&u="
.. urlencode($_GET["u"]) . "&prev=/language_tools");
the code above tranlates an english based texts to a particular
languuage.I suppose the file_get_contents functions read the contents
into a string, however since the webserver migrated to a newer version
of php so this code no longer works.
I have all the possibilities provided in the Curl examples, but it wont work
Navigation:
[Reply to this message]
|