|
Posted by Gilles Ganault on 07/17/07 20:13
Hello
I have a PHP script rss.php that serves RSS to clients. It
work fine, but I'd like to server customized contents, and for this, I
need to know who the user is.
Unless there's a better way, it looks like the easiest way is to use
HTTP basic authentication:
http://en.wikipedia.org/wiki/Basic_authentication_scheme
So I figure I should have a section in the script that starts with
prompts for a login/passwd, then fetch contents with a customized
SELECT, and format it as RSS before sending the output to the RSS
client.
Has someone written this before and could share some tips/code?
Thank you.
Navigation:
[Reply to this message]
|