my host(1and1) does not support file_get_contents function. i ve heard that i can turn it to curl. but i couldn't do that. how can i do that
i get always this error when i add a home or search a home:
* warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/6/d239740050/htdocs/property/modules/home/home.module on line 656.
* warning: file_get_contents(http://maps.google.com/maps/geo?q=ayd%C4%B1n&output=xml&key=ABQIAAAAg_Bu...) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/6/d239740050/htdocs/property/modules/home/home.module on line 656.
Comments
Comment #1
iCreate CreditAttribution: iCreate commentedCheck out this site http://forum.thepollfactory.com/phpBB2/viewtopic.php?f=2&t=27 or http://it.toolbox.com/wiki/index.php/Switch_from_file_get_contents_to_curl They explain how to fix your problem with 1and1 by using curl instead. Best of Luck and let us know how is works out.
iCreate
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.