CodeIgniter Forums
file_get_contents problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: file_get_contents problem (/showthread.php?tid=27094)



file_get_contents problem - El Forum - 02-01-2010

[eluser]Guntars[/eluser]
Hi, all
I have a problem with file get contents
I have wordpress blog on other server, and just want to import rss using
Code:
file_get_contents()
Code works perfect, but only when is different domain as server. Now the blog change for better looking, with sub-domain to same as the server name, and script stops work, shows error 404. Actually, not works with curl etc as well.

I know that's the security issue, but where in php.ini or in hosting settings. Does anyone see something like this before?

Thanks for Help