JJBlaha Posted March 17, 2007 Share Posted March 17, 2007 This code works from www.domain.com trying to access image.jpg is in www.domain.com/images if (is_file("http://www.domain.com/images/$img")){ echo "$img"; } else { echo "no image, sorry!"; } It echoes image.jpg from www.domain.com and no image, sorry from sub.domain.com Link to comment https://forums.phpfreaks.com/topic/43129-is_file-and-subdomains/ Share on other sites More sharing options...
JJBlaha Posted March 17, 2007 Author Share Posted March 17, 2007 bump Link to comment https://forums.phpfreaks.com/topic/43129-is_file-and-subdomains/#findComment-209542 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.