Just use header().

header("HTTP/1.1 200");
header(Date: Mon, 04 Feb 2002 10:01:54 GMT");
etc., etc.

Just make sure that they are all sent before you start any output to the
browser.

Mike

----- Original Message -----
From: "Daniel Reichenbach" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 2:06 AM
Subject: [PHP] HTTP Header


> Hy list :-)
>
> I need to manually send the HTTP header with PHP.
>
> The following is an example what I have to send to the client:
>
> HTTP/1.1 200 OK
> Date: Mon, 04 Feb 2002 10:01:54 GMT
> Server: Apache/1.3.20 (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6
> Connection: Keep-alive, close
> Expires: Thu, 01 Dec 1994 16:00:00 GMT
> Content-Length: 1078
> Content-Type: text/plain
>
> How would I Do that with PHP?
>
> Thx,
> Daniel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to