Am trying to use Tera-WURFL Remote Webservice. It's set up correctly at both ends, but am getting this error when trying to access:
--------------------------------
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/xxxxxxx/public_html/TeraWurflRemoteClient.php on line 174
Warning: file_get_contents(http://xxxxxxxxxxxxxxx.xx.xx/Tera-WURFL ... port_level) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/xxxxxxx/public_html/TeraWurflRemoteClient.php on line 174
Fatal error: Uncaught exception 'Exception' with message 'TeraWurflRemoteClient Error: Could not query Tera-WURFL master server.' in /home/xxxxxxx/public_html/TeraWurflRemoteClient.php:191 Stack trace: #0 /home/xxxxxxx/public_html/TeraWurflRemoteClient.php(101): TeraWurflRemoteClient->callTeraWurfl('http://mobilewe...') #1 /home/xxxxxxx/public_html/TeraWurflRemoteClient.php(114): TeraWurflRemoteClient->getDeviceCapabilitiesFromAgent('Mozilla/5.0 (Wi...', Array) #2 /home/xxxxxxx/public_html/indexTeraWurflRemote.php(16): TeraWurflRemoteClient->getCapabilitiesFromAgent('Mozilla/5.0 (Wi...', Array) #3 {main} thrown in /home/xxxxxxx/public_html/TeraWurflRemoteClient.php on line 191
--------------------------------
Apparently, I'd need the PHP allow_url_fopen / allow_url_include directives setting to "On", but as this would also be a security concern, are there any other solutions? (E.g., is it possible so that a client's Tera-WURFL installation connects directly to my database?)
Thanks,
James