Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
OK, I have a server computer which is hosting my website. I also have all my music, pictures, etc on it as well. For my webserver I'm using Apache 2 and PHP/MySQL. What I want to do is stream my music over my webpage. My webpage is located in the C:\Program Files\Apache\...\Website folder, and my music is stored on D:\MP3s.
What I was hoping to be able to do is just create a shortcut to the MP3s folder in the Website folder, and use the PHPs opendir('/MP3s') function to get into the directory to retrieve the MP3s. When I do that though PHP throws an error saying that it cannot find the MP3s directory.
Is this because I am using a shortcut instead of a real directory? and is what I want to do even possible without having to move all of my MP3s into the Website folder? I assumed I would be able to do it my way by simply setting a few permissions. And if it is possible, what permissions (users) need to have access to the MP3s shortcut?
Any help would be appreciated. Thanks.
-- God is my favorite fictional character

because the mp3s are not in the web folder they cannot be accessed unless you virtually connect the to the web folder. this can be done in the apache settings file.
Alias /mysql/ "${path}/phpmyadmin/"<Directory "${path}/phpmyadmin">
Options FollowSymLinks Indexes
AllowOverride None
Order deny,allow
allow from 127.0.0.1
deny from all
</Directory>
something like this. the file that has this information would be httpd.confFBI Agent
AIM: EliteAssassin187

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |