Quote:
Originally Posted by raymor
allow_url_include requires allow_url_fopen.
allow_url_fopen requires stupid.
Therefore include(url) requires being stupid.
Use SmokeyTheBear's cURL code if they are on different servers. Be aware that's not like a PHP include, as you're getting the OUTPUT of the remote PHP script, not it's contents.
|
I was only trying to tell the guy where his issue may lie, not making reccomendations.
Myself, unless I have control of the file I am pulling in, or it is on an extremely trusted site, I'm not pulling it in or pushing it out.
If I had this issue, on 2 different servers, with domains I control, I would probably just duplicate the file from server 1 on server 2. If the file was dynamic then I would use a curl solution like Smokey's.
but that just me.