Empty Message-Body
| From: | Thomas Weber | Date: | Tue, 13 Mar 2001 08:41:00 +0000 |
| Subject: | Empty Message-Body | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43636@lists.php.net to get a copy of this message | ||
Hi.
The HTTP-specification says, when form-data is submitted via GET to a script
the webserver should send Status 304 Not Modified and no message body after
submitting, so the page with the script won't be loaded.
I figured out i can send this status via "header("HTTP/1.0 304 Not
Modified");" and it seems to work. My own message body isn't sent, but this:
----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
----
Of course the Page is loaded, but of course empty...
How can i tell PHP4 to send the Status 304 without sending any message
body???
Thank you,
Thomas Weber
CYNOBIA Community Online Service AG
Kühbachstraße 11
81543 München
fon 089-78 06 0(280)
fax 089-78 06 01 99
email tw@CYNOBIA.de
net http://www.CYNOBIA.de