On 28 Apr 2002 at 20:32, Simonk wrote:

> I have added the code, but it turn out :
> 
> "Warning: Cannot add header information - headers already sent by (output
> started at C:\Inetpub\php\hospital_equipment.php:5) in
> C:\Inetpub\php\hospital_equipment.php on line 6

[etc]

> Here is my full HTML code:
> 
> <html>
> <head>
> <title>Equipments' Detail</title>
> <head>

[etc]

> header ("Expires: Mon, 1 Jan 1990 05:00:00 GMT");    // Date in the past
> header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
>                                                       // always modified
> header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
> header ("Pragma: no-cache");

Put this stuff up above your <html> and it will most likely work.  
You must put header stuff before any other output including white 
space (tabs, spaces, new lines etc).

CYA, Dave



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

Reply via email to