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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -