phpbar.de logo

Mailinglisten-Archive

[php] content type text

[php] content type text

Florian Petter florian.petter_(at)_braintrust.at
Fri, 2 Jun 2000 17:59:39 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_00A7_01BFCCBC.5233AEE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!

<?
header("Content-Type: text\n\n");
?>

sollte funktioneren...

---

Florian Petter

BRAINTRUST New Media Solutions
Schopenhauerstrasse 36
A-1180 Vienna

Phone: +43-1-40416-61
Fax:   +43-1-40416-33
eMail: florian.petter_(at)_braintrust.at
web:   http://www.braintrust.at
icq:   67509179

  ----- Original Message -----=20
  From: Kai Seefeldt=20
  To: php_(at)_php-center.de=20
  Sent: Friday, June 02, 2000 6:15 PM
  Subject: [php] content type text


  Hallo, ich habe eine .txt in eine PHP-Datei umgewandelt.
  Jetzt wird die Datei aber trotz Endung ".txt" nichtmehr als Textdatei =
interpretiert.
  Welchen PHP Befehl mu=DF ich angeben, da=DF die Seite als text =
ausgegeben wird?
  (Bei Perl war=B4s print "content-type: text\n\n" oder so =E4hnlich)=20

  Vielen Dank f=FCr die Hilfe!
  Kai


------=_NextPart_000_00A7_01BFCCBC.5233AEE0
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.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>header("Content-Type: =
text\n\n");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>?&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>sollte funktioneren...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>---</DIV>
<DIV>&nbsp;</DIV>
<DIV>Florian Petter</DIV>
<DIV>&nbsp;</DIV>
<DIV>BRAINTRUST New Media Solutions<BR>Schopenhauerstrasse 36<BR>A-1180=20
Vienna</DIV>
<DIV>&nbsp;</DIV>
<DIV>Phone: +43-1-40416-61<BR>Fax:&nbsp;&nbsp; +43-1-40416-33<BR>eMail: =
<A=20
href=3D"mailto:florian.petter_(at)_braintrust.at">florian.petter_(at)_braintrust.at=
</A><BR>web:&nbsp;&nbsp;=20
<A=20
href=3D"http://www.braintrust.at">http://www.braintrust.at</A><BR>icq:&nb=
sp;&nbsp;=20
67509179<BR></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:Kai.Seefeldt_(at)_t-online.de" =
title=3DKai.Seefeldt_(at)_t-online.de>Kai=20
  Seefeldt</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:php_(at)_php-center.de"=20
  title=3Dphp_(at)_php-center.de>php_(at)_php-center.de</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, June 02, 2000 =
6:15 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [php] content type =
text</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Hallo, ich habe eine .txt in eine =
PHP-Datei=20
  umgewandelt.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Jetzt wird die Datei aber trotz =
Endung ".txt"=20
  nichtmehr als Textdatei interpretiert.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Welchen PHP Befehl mu=DF ich angeben, =
da=DF die Seite=20
  als text ausgegeben wird?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>(Bei Perl war=B4s print =
"content-type: text\n\n"=20
  oder so =E4hnlich) </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Vielen Dank f=FCr die =
Hilfe!</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>Kai<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00A7_01BFCCBC.5233AEE0--



php::bar PHP Wiki   -   Listenarchive