Jump to content

about path


ilikephp

Recommended Posts

above the document root

 

HTTP path

 

That's like dividing by zero.  It just doesn't work.

 

In all seriousness, the whole point of storing something above the document root is so that there is no HTTP path.  You can make a script to push the MP3's to the browser if you want.  That would work even if the MP3's are stored above the web root.

Link to comment
https://forums.phpfreaks.com/topic/173534-about-path/#findComment-914707
Share on other sites

yeah I mean not to browse the content of the folder and be able to download the music, beacause they can listen to them only.

 

Is there a way to protect it?

 

You can try...but there's nothing that you can actually do to protect it completely.  The only way for that to happen would be to make a music player in Flash that serves the music.  That's the only way I can think of, at least.

Link to comment
https://forums.phpfreaks.com/topic/173534-about-path/#findComment-914720
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.