Voting

Please answer this simple SPAM challenge: min(one, nine)?
(Example: nine)

The Note You're Voting On

bMindful at fleetingiamge dot org
15 years ago
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");

<< Back to user notes page

To Top