Zubrag.com
May 26, 2020, 03:22:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: What's the difference?  (Read 330 times)
mikester
Newbie
*
Posts: 1


« on: May 07, 2020, 03:32:40 AM »

Hi. In another author's version of a password protection script, the line to add to the page one wants to protect looks like this (I'm using your filename): <?php require_once('password_protect.php'); ?>
You use <?php include('password_protect.php'); ?>. What's the difference between the two if I only want to protect one page?

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC