Okay, that makes more sense.

You can still implement this method without forcing the user to log-in.
If you have a little login form in your template, you can just point the 
form action to $_SERVER['PHP_SELF'] instead of to a specific login page.

You can use PEAR::Auth to authenticate your users, without requiring 
them to login.
See the docs on PEAR::Auth - (http://pear.php.net/manual/en/)
Look for the parameter $boolShowLogin -- you'd want to set it to false 
for your application.

Using this in conjunction with the Smarty templating engine would make 
it *really* easy to swap out content based on login status.

Best,
Jeromie


PapaTango wrote:

>Because on my site the user is not forced to log in - members have a password
>and can do so, but anyone can view the site - they just see slightly different
>content.
>
>PT
>
>  
>


The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to