Problems uploading to a password protected folder
Posted: Sat Jun 21, 2003 5:28 am
Hi there,
I experience problems in uploading files to a password protected folder. The protected folder contains only pictures and it's protected from outsiders via direct link but for registered users should be ok to view. I wrote a script that can access the files in there and display them in the browser and the script passes the protection system because it resides on the server. It should work the same with the upload thing, but it doesn't. I use move_uploaded_file. The OS is Linux, the server is Apache 1.3.27 and PHP is 4.3.1
What can I do?
I experience problems in uploading files to a password protected folder. The protected folder contains only pictures and it's protected from outsiders via direct link but for registered users should be ok to view. I wrote a script that can access the files in there and display them in the browser and the script passes the protection system because it resides on the server. It should work the same with the upload thing, but it doesn't. I use move_uploaded_file. The OS is Linux, the server is Apache 1.3.27 and PHP is 4.3.1
What can I do?