drakkar
Oct 5 2007, 05:27 PM
If htaccess dont work for free users, how can i protect a file to dowload ?
Thanks.
You could write some PHP to handle it, or just CHMOD the dir/file?
drakkar
Oct 5 2007, 06:43 PM
I think cant protect the file with PHP.
Im going to describe my problem:
I have a simple SQLite2 DB file with user data.
If i do CHMOD 600 nobody can download it, but PHP throws errors too.
I dont want use MySQL because:
- I store very low data (only 6 tables).
- Its to easy for me modify this database file.
- Dont want port my PHP code from SQLite to MySQL (this isnt a problem, but time).
Maybe someone can help me more now.
Thanks.
Yeah, I can see the dilemma.
If you pass me your domain via PM and the directory to protect, I'll sort something out.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.