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 Link to comment https://forums.phpfreaks.com/topic/55859-functioncopy-failed-to-open-stream/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.