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. Quote Link to comment 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.. Quote Link to comment 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.