mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:38

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Password on folders
PostPosted: 12 Apr 2006, 05:27 
Hello

Thanks for a fine script. Let me try to explain my question

I have a site with a login that we can call index1.php. When users enter index1.php they see a link to index2.php (wich is inside another folder on my webpage) but if users see the index2.php path they could just go right in by typing the path in the browser (like www.xxx.com/secrets/index2.php) and i don't want that to happen. I tryed with
Code:
<?php
$slogin_noauthpage = 1;
$slogin_pagetitle = "title";
$slogin_path = "../../../php/";
include_once ($slogin_path . "/slogin_lib.inc.php");
?>
in the head of the index2.php file but then It wants me to login again even if i allready logged in on the index1.php page and followed the link from there. Sounds complex? Its prolly just my explenation who is :)
so i try with alittle ASCII graphics

www.xxx.com/index1.php->www.xxx.com/secrets/index2.php

www.xxx.com/secrets/index2.php directly in browser


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group