09-03-2011, 09:02 AM
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:
ill show some pictures.
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') ;?>
</div>
<?
}
?>
ill show some pictures.