Switching Hosting Company PHP GET Script Won't Work -


i switched hosting accounts dreamhost inmotion hosting... used use script worked fine on dreamhost since switch creates xml file empty. ideas?

<?php  $xml = file_get_contents('ftp://user:user@aphrodite.web.net/exports/xml/products.xml'); file_put_contents('./pro_data/products.xml', $xml); ?> 

i tried php version 5.5-7.0 same thing.

in php.ini added following file , save.

allow_url_fopen=on 

Comments

Popular posts from this blog

python - PyInstaller UAC not working in onefile mode -

python - RuntimeError: can't re-enter readline -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -