Allowing file() for just one website on a shared server
Posted: Wed Nov 12, 2008 6:51 am
Hi
I need to use the file() function to read information from a remote url. file() is however not allowed on that particular server. The Hosting company is quite willing allow it for my website but doesn't want to enable it server wide. What options are available? Are there add-ons , alternatives to file(), a .htaccess trick etc etc?
Server: Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/4.3.1 mod_throttle/3.1.2 mod_gzip/1.3.26.1a
Thanks
I need to use the file() function to read information from a remote url. file() is however not allowed on that particular server. The Hosting company is quite willing allow it for my website but doesn't want to enable it server wide. What options are available? Are there add-ons , alternatives to file(), a .htaccess trick etc etc?
Server: Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8g PHP/4.3.1 mod_throttle/3.1.2 mod_gzip/1.3.26.1a
Thanks