You are here: Re: Handling HTTP basic authentication in script? « PHP Programming Language « IT news, forums, messages
Re: Handling HTTP basic authentication in script?

Posted by Rik on 07/18/07 01:45

On Tue, 17 Jul 2007 22:13:19 +0200, Gilles Ganault <nospam@nospam.com>
wrote:

> 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?


The manual has to come extent:

http://nl3.php.net/manual/en/features.http-auth.php

--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация