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

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -