Ok don't shoot me, I'm trying to use a pre-made login script for a site that I'm playing with. I will learn how to code one in future, but right now I want to play & learn other more basic stuff.
Anyway, I downloaded this script http://www.evolt.org/node/60384 Which is cool, it does everything I need. However, its a pain to make pages with it since all the html has to go inside an else statement and therefore all the figgin tags have to be escaped.
With the previous version, I could just paste an include at the top of each page I wanted to protect and that was it.PHP Code:
echo "All your html & any other php!";
echo "You are not allowed to view this page";
Anyone know how I can get around it, or know of another login script with a 'forgot password' function that will allow me to just paste an include at the top of the protected pages?