Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0048_01C0AFE2.9DF7B420
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hallo Ihr Lieben,
habe gerade versucht, ein php-Script zu installieren.
L=E4uft alles so weit, nur wenn es um die Authentifizierung geht, gibt =
es Probs. Bin leider noch nicht so bewandert, mein php-Buch half auch =
erst einmal nicht weiter.
Was passiert an dieser Stelle?:
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=3D\"OpenRealty\"");
Header("HTTP/1.0 401 Unauthorized");
echo "You must enter a username and password\n";
exit;
Wenn ich die beiden Headerzeilen herausnehme, kommt keine =
500-Errormeldung mehr
Was muss ich tun?
beste Gr=FC=DFe
Micha
------=_NextPart_000_0048_01C0AFE2.9DF7B420
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>Hallo =
Ihr=20
Lieben,</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>habe =
gerade=20
versucht, ein php-Script zu installieren.</STRONG></FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" =
size=3D2><STRONG> L=E4uft alles so=20
weit, nur wenn es um die Authentifizierung geht, gibt es Probs. Bin =
leider noch=20
nicht so bewandert, mein php-Buch half auch erst einmal nicht=20
weiter.</STRONG></FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>Was =
passiert an=20
dieser Stelle?:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><STRONG><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2> =
if(!isset($PHP_AUTH_USER)) {<BR> =
Header("WWW-Authenticate:=20
Basic realm=3D\"OpenRealty\"");<BR> Header("HTTP/1.0 =
401=20
Unauthorized");<BR> echo "You must enter a username =
and=20
password\n";<BR> exit;</FONT></STRONG></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>Wenn =
ich die beiden=20
Headerzeilen herausnehme, kommt keine 500-Errormeldung=20
mehr</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>Was =
muss ich=20
tun?</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow" size=3D2><STRONG>beste=20
Gr=FC=DFe</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080 face=3D"Arial Narrow"=20
size=3D2><STRONG>Micha</STRONG></FONT></DIV></BODY></HTML>
------=_NextPart_000_0048_01C0AFE2.9DF7B420--
php::bar PHP Wiki - Listenarchive