separated login page? separated login page?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

separated login page?

Started by dakky, April 16, 2005, 04:17:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dakky

This question isnt related with CPG too much but still I want to do something with it. So I'd like to make a simple login page (javascript or something else) on my webhost. Only when you type some generic password (ie I would put it user/pass : view/gallery) you could see the gallery. The simpliest way would be just that the login system after typing in the "correct" password just redirects to the good path for gallery. Im preety new with HTML and PHP and i need help. And that login should not login users to the gallery (i mean they wouldnt be registered) but it would just allow them to see the gallery as anonymous (like now). you may see the whole gallery thing working here although its in Croatian.

Thanx :)

OmegaGOD

You can create a .htaccess file within the root directory of CPG. Search google for password protecting a directory using .htaccess
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.