Warning: file_get_contents()...: URL file-access is disabled -HELP

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&i e=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
pasupathy [ Sa, 19 Mai 2007 04:36 ] [ ID #1715598 ]
PHP » alt.php » Warning: file_get_contents()...: URL file-access is disabled -HELP

Vorheriges Thema: regex for PHP variable name
Nächstes Thema: regex for PHP variable name