note 32569 modified in function.header by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:44:41 +0000 |
| Subject: | note 32569 modified in function.header by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55652@lists.php.net to get a copy of this message | ||
If you haven't used, HTTP Response 204 can be very convenient. 204 tells the server to
immediately termiante this request. This is helpful if you want a javascript (or similar)
client-side function to execute a server-side function without refreshing or changing the current
webpage. Great for updating database, setting global variables, etc.
header("status: 204"); (or the other call)
header("HTTP/1.0 204 No Response");
--was--
If you haven't used, HTTP Response 204 can be very convenient. 204 tells the server to
immediately termiante this request. This is helpful if you want a javascript (or similar)
client-side function to execute a server-side function without refreshing or changing the current
webpage. Great for updating database, setting global variables, etc.
header("status: 204"); (or the other call)
header("HTTP/1.0 204 No Response");
Couldn't find actual doc statement anywhere so I thought I'd add (Sweet my first add to
the php docs!)
http://www.php.net/manual/en/function.header.php