smordue Posted December 28, 2009 Share Posted December 28, 2009 I am using this on one of my urls: $files = scandir('images/siteimgs'); On another url I was trying to use this: $files = scandir('http://www.myotherurl.com/images/siteimgs'); It does not work, is this possible? Trying to avoid duplication. Link to comment https://forums.phpfreaks.com/topic/186503-get-files-from-another-url/ Share on other sites More sharing options...
Buddski Posted December 28, 2009 Share Posted December 28, 2009 I dont think you can do this.. if this were to work you could read the structure of another persons webserver which isnt a good thing.. Link to comment https://forums.phpfreaks.com/topic/186503-get-files-from-another-url/#findComment-984903 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.