CoreyR Posted June 16, 2007 Share Posted June 16, 2007 Hi all! I have a script that grabs a file, reads it and then creates the file on my server. It works on one server but errors on the other. <?php $sf = "http://developer.newcondosonline.com/rss-properties-san-francisco.xml"; $sfxml = "sf.xml"; $source = $sf; $dest = $sfxml; if (!copy($source, $dest)) {print ("failed to copy $dest. It is possible the XML feed has been changed, please check with provider.<br>\n");} ?> Any ideas? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/55859-functioncopy-failed-to-open-stream/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.