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
Has anyone used this before d9 Authentication System v.1.2?
Old 07-06-2009, 04:22 PM Has anyone used this before d9 Authentication System v.1.2?
paranormalsos's Avatar
Junior Talker

Posts: 2
Name: Angela
Location: VA
Trades: 0
Hello all I'm new to this site I'm looking for a little help getting this php / mysql script running on my site

First off I got the script from here http://d9portal.extra.hu/?
Description:
"This software refer GNU GENERAL PUBLIC LICENSE. This script use PHP + MySQL.
  • d9 Authentication System is a powerful and a revolutionary authentication script which uses PHP and MySQL for fast processing.
  • You can build into your site VERY easily.
    Easy installation with install file.
  • It comes with an admin interface where super administrators can modify system's settings, create new user accounts, new user groups, new secured content, new bans and listen log's entries and site's statistics ( online visitors, hits ), etc.
  • The System includes many protection, which make difficulties hacking the site. e.g.: protection of sql injection, globals tricks, session tricks, use classes."
I have it so people can join & log in what I need is to make it so logged in users are the only ones that can view cretin content

I hope it is OK to post my site link http://paranormalsos.com/

If you click on the S.O.S TV Tab (I'm using sprytabs in dreamweaver) you get this message if you are not logged in You are not authorized!

That's good... I now it is seeing who is logged in & who isn't, bad thing is it will still display the TV I would rather it say that & reload you to the Login / register page or replace the content with the message and a link to register & not show the TV or blocked content at all :-)

If anyone is willing to help with this I would be forever grateful

Thanks in advance,
Angela
paranormalsos is offline
Reply With Quote
View Public Profile Visit paranormalsos's homepage!
 
 
Register now for full access!
Old 07-06-2009, 04:25 PM Re: Has anyone used this before d9 Authentication System v.1.2?
paranormalsos's Avatar
Junior Talker

Posts: 2
Name: Angela
Location: VA
Trades: 0
I forgot to add the sample code on how to secure the content

HTML Code:
<?
/*******************************************************************************
* Fill in top of secure page ONCE!
*
*     define("d9_auth", true);
*     require_once("auth/config.php"); // fill in config file path
*     require_once(auth_path."/common.php");
*
* -----------------------------------------------------------------------
*
* Part of Secure Content, you can many times fill in site
*
*
*     $_auth_->logged_in("#1", "#2");
*    // # 1 --> "1" : disable message or "2" : enable message
*    // # 2 --> Secure Content Name 
*    ( # 2: fill in optional name, and add on Secure Content of admin page )
*
*    $_msg_->print_msg(); // print messages
*
*     if($_auth_->logined) { # }
*    # --> Secured Content
*
********************************************************************************/

define("d9_auth", true);

require_once("auth/config.php");
require_once(auth_path."/common.php");

echo "
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">
</head>";

$_auth_->logged_in("2", "page");

$_msg_->print_msg();


if($_auth_->logined) {

echo "Secure Page";

}

?>
paranormalsos is offline
Reply With Quote
View Public Profile Visit paranormalsos's homepage!
 
Reply     « Reply to Has anyone used this before d9 Authentication System v.1.2?
 

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.20344 seconds with 12 queries