eamondo
10-23-2006, 01:09 AM
Hi, ive got a php code and it works great if users log in sucessfully they get a cookie dropped on them.
Im a bit of a .htaccess n00b and need to protect a folder so that if the cookie is present it alows the folders content to be accesed. if it is not present then it should redirect the brouser to ../login.php does anyone know how i would do some or all of this with .htaccess or by other means. (note: it needs to protect all content it may be web pages, MOV movies, MP3's, swf's anything.
Im a bit of a .htaccess n00b and need to protect a folder so that if the cookie is present it alows the folders content to be accesed. if it is not present then it should redirect the brouser to ../login.php does anyone know how i would do some or all of this with .htaccess or by other means. (note: it needs to protect all content it may be web pages, MOV movies, MP3's, swf's anything.