Hi! I am currently working with Cobalt RaQ server, and the following problem is before me:
On the page there are several files that SOME users (that have access to them) can download. I suppose the easiest way to do this will be to create a .htaccess file in some folder and give those users the pass and the username. .htaccess works just great!
It doesn't allow me in, but it just doesn't look at .htpasswd file. I generated that file on another server (Apache), using ./htpasswd and then uploaded that file to Cobalt.
Is it possible to generate .htpasswd through PHP, so that will work??? If yes, how can it be done, just using a plain <b>crypt()</b>?
If no, how can I accomplish that task without htaccess????
PLEASE, I desperatly need help!