Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Password Protection System problem
Old 10-06-2004, 12:51 PM Password Protection System problem
Novice Talker

Posts: 7
Trades: 0
I've installed PPS on my website and can login OK.

The instructions that come with the script don't say what to put at the top of each page you want protecting.

The script uses sessions.

Does anyone know about this script?

It's written by Paul Johnston

Thanks

Andrew Edmondson (php ignorant)

PS Here's what I put at the top of a page to protect it:

<?php
session_start();
if(session_is_unregistered('username')){ //Program skips past this even when I'm logged in ...

}

else{

header("Location: http:// etc); //... and goes here
}
?>

HTML for page follows
andrewedmondson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Password Protection System problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08248 seconds with 12 queries