Here is what I am trying to do:
1- Place a large (50MB to 100MB) video files outside the servers web directory.
2- Have the user log into a PHP/MySQL based login system, and validate the username and password against a MySQL Database.
3- If valid user, I want to read the video file from outside the web directory and deliver it to the user for viewing or download.
I am already doing this easily with images. However, it doesn't seem to work well with videos, since the PHP script times out. I have tried extending the timeout period, but its hard to guess correctly how long the download will take, specially if the user is on a dialup connection.
I don't want to use .htaccess based password system to protect the video files inside the web directory. Has anyone done this before?
Pete