Page 1 of 1

HOW TO INCLUDE A DESIGNED PAGE USING PHP?

Posted: Wed Jun 29, 2011 7:46 am
by oyedele
I designed a page already and want to situation where when a user clicks login, it will display that page. Please ur reply will be hight appreciated

Thanks very much

Re: HOW TO INCLUDE A DESIGNED PAGE USING PHP?

Posted: Wed Jun 29, 2011 10:15 am
by twinedev
Just to clarify, all you are wanting to do is make sure they enter a username/password to view the page in question?

If that is the only point, I would recommend using Apache's built in password protection, as then you do not have to mess with anything on the page you want to protect, just make sure it is in its own directory.

For information (and tools to create the .htaccess/.htpasswd files for ya), see http://tools.dynamicdrive.com/password/

-Greg