Welcome Guest, Not a member yet? Register   Sign In
How to access images under writable folder
#13

(This post was last modified: 03-30-2022, 03:54 PM by John_Betong.)

Quote:@MGatner:
I’m a fan of symlinks (assuming you aren’t on Windows). Just create a symlink in public to the uploads folder. This also helps you keep your folder permissions consistent. Obligatory warning to use good security when making uploaded files accessible.

I’m using a Linux server, not familiar with using symlinks and would be grateful for a detailed example:

Code:
echo ‘<img src=‘“ .WRITABLE .’/folder/img.jpg” .’” alt=“#”>’;
Reply


Messages In This Thread
RE: How to access images under writable folder - by John_Betong - 03-30-2022, 03:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB