FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » use fud login details to access the rest of my site
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
use fud login details to access the rest of my site [message #3343] Tue, 18 June 2002 11:51 Go to next message
pinch_fink is currently offline  pinch_fink   United States
Messages: 1
Registered: June 2002
Karma: 0
Junior Member
What i want to do is use the login from the fud forum to access other pages in my site. That is to make them secure also. As well as this i want to read in the userid that is logged in and display a user related response.

At the moment ive got a simple session login with the following at the top of each new secure page:-
<?php
session_register("user_id");

if( !isset( $user_id ) )
{
include("login.php");
exit();
}
?>

Please please help Ive only been using PHP for 2 days.
Re: use fud login details to access the rest of my site [message #9455 is a reply to message #3343] Fri, 28 March 2003 20:29 Go to previous messageGo to next message
elnino is currently offline  elnino   United States
Messages: 25
Registered: March 2003
Karma: 0
Junior Member
pinch_fink wrote on Tue, 18 June 2002 07:51

What i want to do is use the login from the fud forum to access other pages in my site. That is to make them secure also. As well as this i want to read in the userid that is logged in and display a user related response.

At the moment ive got a simple session login with the following at the top of each new secure page:-
<?php
session_register("user_id");

if( !isset( $user_id ) )
{
include("login.php");
exit();
}
?>

Please please help Ive only been using PHP for 2 days.


This is a clever idea... Did you ever get this to work?
Re: use fud login details to access the rest of my site [message #9606 is a reply to message #9455] Sun, 13 April 2003 14:31 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Won't work...

You actually want to include quicklogin.inc & db.in & err.inc


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "unanswered posts"
Next Topic: Beginners Question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 22:48:47 GMT 2024

Total time taken to generate the page: 0.02421 seconds