Actually, I would like to use fopen() function, I have tested it in my test server and it works fine.
Test Server condition:
PHP Version 5.25
allow_url_fopen on
eg. $url = "http://test.com/index.html"; fopen($url, "r");
result: it works fine
the test is same as above but the result is ....fopen()...cannot open stream...
in the official server.
While I read the php code in the server that works. Only specified url is work
eg. if $url = "http://work.com/index.html;
it works.
Official Server condition:
PHP Version 4.3.11
allow_url_fopen on
Is there any way I can specify URL to allow or to block for fopen()?
Thanks a lot!