At 19:14 22.01.2001, Larry Jaques said:
--------------------[snip]--------------------
>I used this, the sample from "Core PHP Programming" and it gives me a parse
>error
>starting on the first line of the change whether the header lines are
>before or after 
>session_start or the session_ register lines.
>
>header("Last-Modified: " . gmdate("D, d M Y H:i:s) . " GMT");
>header("Expires: " . gmdate("D, d M Y H:i:s) . " GMT");
>header("Cache-Control: no-cache, must re-validate");
>header("Pragma: no-cache");
--------------------[snip]-------------------- 

You're missing a double quote at the gmdate phrase. Use 
   header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");


     ...ebird

   >O     Ernest E. Vogelsinger
   (\)    http://www.1-at-web.at/
    ^     ICQ#   13394035


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to