Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
login system
09-03-2011, 09:02 AM (This post was last modified: 09-03-2011 09:25 AM by Punktured.)
Post: #1
login system
i did not write this code.
http://www.evolt.org/node/60384

you will have to do some editing, as some of the mysql commands they used are no longer in use.

but it seems to work good once you edit some thing.

if you get it working, this is how you restrict content to logged in users only....
i will use my search form as an example:
Code:
<?
if($session->logged_in){
?>
    <div style='float:right;padding-right:20px;'>
        <? include_once('searchform.php') ;?>&nbsp;&nbsp;
    </div>
<?
}
?>

ill show some pictures.


Attached File(s) Thumbnail(s)
                   

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
login system - Punktured - 09-03-2011 09:02 AM
RE: login system - Punktured - 09-03-2011, 11:20 AM
RE: login system - springer88 - 10-04-2011, 01:30 AM
RE: login system - Punktured - 10-04-2011, 01:37 AM

Forum Jump: