php - Displaying files from out of httpdocs location -


the files going stored in folder next httpdocs. thus, make hard display files internet user. how i'll overcome problem? mean, want display/serve files users. need use kind of proxy file?

old one:

-httpdocs\   -index.php   -uploads\  <-      -folder\         -image.png         -image3.jpg      -folderbla\         -personal.jpg         -sp.pdf 

new one:

-httpdocs\    -index.php -uploads\  <----    -folder\       -image.png       -image3.jpg    -folderbla\       -personal.jpg       -sp.pdf 

configure web server graft directory url space, e.g. using alias httpd.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -