Gossamer Forum
Quote Reply
user authentication
Does anybody know how to do this or have an idea how I can make this work?

I'm trying to add a php page to my user's admin area (area where users add links) and still have the normal user authentication presnet, for example, in add.cgi.

From a php page, how do I check to see if the user is logged in (as far as LSQL is concerned) and (1) if so, allow them to see the page or (2) if not, send them to the appropriate login, then redirect to the php page?

Thanks
Quote Reply
Re: [estjohn] user authentication In reply to
Probably this thread should be better go to Links SQL / PHP category...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [estjohn] user authentication In reply to
I'd recommend looking at the php front-end that Brewt wrote - that should tell you everything you need to know.
Quote Reply
Re: [Paul] user authentication In reply to
Cool, I'm on it. Corresponding with him on the php thread. Thanks! The php part doesn't seem very well documented though...