separated login page? separated login page?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

separated login page?

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

Previous topic - Next topic

0 Members and 1 Guest 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.