Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: PHP + Password Authorization


  • Subject: RE: lug-bg: PHP + Password Authorization
  • From: bkrosnov@xxxxxxxxx (Boyan Krosnov)
  • Date: Mon, 30 Oct 2000 10:38:15 +0200



browsera se authentikira awtomatichno sys poslednata parola koqto e polzwal
za tozi domain


--
Boyan Krosnov (http://www.nat.bg/~bkrosnov)
Network Administrator
Lirex BG Ltd. 

> -----Original Message-----
> From: Nikolay Dimitrov Yurgandzhiev [mailto:koko@xxxxxxxxxxxxx]
> Sent: Monday, October 30, 2000 8:20 AM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: Re: lug-bg: PHP + Password Authorization
> 
> 
> EDAC wrote:
> 
> > > Ako ti trqbwa da prawish autorizaciq na nqkakwa
> > > stranica to move da hwanesh i da minesh prez modula na
> > > HTTPd servera. Kato toj shte ti izkara prozorche za
> > > autorizaciq, sled koeto shte ti wyrne parolata i imeto
> > > w promenliwi $PHP_AUTH_USER i $PHP_AUTH_PW. Eto ti
> > > towa kato primer :<?php
> > >   if(!isset($PHP_AUTH_USER)) {
> > >     Header("WWW-Authenticate: Basic realm=\"My
> > > Realm\"");
> > >     Header("HTTP/1.0 401 Unauthorized");
> > >     echo "Text to send if user hits Cancel button\n";
> > >     exit;
> > >   } else {
> > >     echo "Hello $PHP_AUTH_USER.<P>";
> > >     echo "You entered $PHP_AUTH_PW as your
> > > password.<P>";
> > >   }
> > > ?>
> > > kato imash na predwid che internet explodera e
> > > pretenciozen kym zaglawnata chast. Po syshtiqt nachin
> > > movesh da go polzwash za da prowerish i kym nqkoq baza
> > > danni ili drugi mesta.
> > Da tova mi e jasno. Vyprosa mi beshe kak da proveria dali vyprosnite
> > PHP_AUTH_USER i PHP_AUTH_PW sa validni login/password za
> > samata Linux mashina, na kojato se startira scripta.
> 
> Towa e interesno. No az imam drug problem ot takowa estestwo. 
> Kak da naprawq
> taka che wseki pat kato se reloadne stranicata (W edna i 
> sasta sesiq) da go
> nakaram pak da se autorizira?
> 
> ==================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx 
> UNSUBSCRIBE LUG-BG
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. 
> - Stara Zagora
> 

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.