You are here: Warning: file_get_contents()...: URL file-access is disabled -HELP « PHP Language « IT news, forums, messages
Warning: file_get_contents()...: URL file-access is disabled -HELP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация