Making a Cover Page with Log-in
My boss wanted me to make a cover page for a certain website..
example: we have page called. www.website.com/Vclassroom/www/index.php
he wanted me to place a cover page for its homepage that contains some informations and the same login with the vclassroom homepage. any idea how to make this?
im not a pro and im having a hard time to start..
my idea is to make an index.html(so-called cover page) file to cover the index.php(original homepage) file, then place all the info and just make a button which directs to index.php file..
that you for sharing your awesome brains with me..
That is not guaranteed to work. You could rename the existing index.php index2.php and add a new index.php, but that could affect links back to the home page. Also, more importantly, it could be easily bypassed by directly calling the index2.php (or any other page on the site!).
To enforce login is a more complex issue, you really need to do it as a PHP include file (or script) controlled by POST parameters and a lookup to a database of user IDs and passwords. You could write it yourself, if you have PHP experience or the time to learn, but no doubt there are copious login templates available if you search for them. By the way, if the site is written in a CMS, you'd best use a template specifically written for that CMS. Otherwise you could have untold problems with code conflicts!
Last edited by jedaisoul; 04-23-2014 at 03:40 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)