[liphp] (no subject)

Raheel Ahmad Khan [email protected]
Mon, 23 Jun 2003 13:00:27 -0400 (EDT)


Hi,

We have the following script, put_handler.cgi, which receives files
throught HTTP PUT.  After receiving a file, it sends back to the
user a header specifying a successful status code.

However, its not able to send a 204 status after it receives the file.
It displays a 500 Internal Server Error. Any ideas as to why the script
is unable to send the headers back to the client.

put_handler.php
---------------
#!/usr/local/bin/php
<?php
header("Status: 204");

header("Content-Type: text/html");

?>


Thanks,

Raheel Ahmad Khan