sever3d Posted June 24, 2009 Share Posted June 24, 2009 how to access file from outside public folder public_html ? or subdomain/addon domain folder nested in public_html/domain. com folder example: I want to download file file_i_want_to_download.swf from index.php where is user access validation to that file folders : /public_html /files file_i_want_to_download.swf /addon_domain.com /some_folders index.php Link to comment https://forums.phpfreaks.com/topic/163449-how-to-access-file-from-outside-public-folder-public_html-or-subdomain-folder/ Share on other sites More sharing options...
Ken2k7 Posted June 24, 2009 Share Posted June 24, 2009 You can use absolute paths or just do ../files/file_i_want_to_download.swf. If the latter doesn't work use direct paths. I think even a direct URL would work in this case. Link to comment https://forums.phpfreaks.com/topic/163449-how-to-access-file-from-outside-public-folder-public_html-or-subdomain-folder/#findComment-862450 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.