I put my videos on my Shared web host and user can direct download all files. but I want to hide my actual file paths and make time-limited download links. if files were on same server it is work fine. when I use this code :
return response()->download('/home2/alihoss1/domains/http://ift.tt/2fwNQhE');
i see this error :
is_file(): open_basedir restriction in effect. File(/home2/alihoss1/domains/http://ift.tt/2fwNQhE) is not within the allowed path(s): (/home2/alihosse/domains/http://ift.tt/2fYrswj)
What solution would you recommend ؟ videos and laravel Project are not same host.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire