Event JSON
{
"id": "52b2324b7ed9648a238b96c3808717b4e9393973f8635d14eac8ce3357c78e8b",
"pubkey": "350b4da116bd4aa32feaa4d36a4aa69b544e430946c2a9fa1ac43b3342652b3e",
"created_at": 1779708904,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"proxy",
"https://mastodon.social/@Edent/116635002770089920",
"web"
],
[
"t",
"howto"
],
[
"proxy",
"https://mastodon.social/users/Edent/statuses/116635002770089920",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/Edent/statuses/116635002770089920",
"pink.momostr"
],
[
"-"
]
],
"content": "🆕 blog! “PHP - simple way to send HTTP headers before a script ends”\n\nSuppose you want PHP to keep processing after it has sent back an HTTP response. Normally, this doesn't work:\n\n\u003c?php\n header( \"Location: https://example.com/\" );\n // Long operation.\n sleep(10);\n die();\n\nTry it yourself. You'll have to wait 10 seconds before you get back\n\n\u003c HTTP/2 302 \n\u003c …\n\n👀 Read more: https://shkspr.mobi/blog/2026/05/php-simple-way-to-send-http-headers-before-a-script-ends/\n⸻\n#HowTo #php",
"sig": "49cd2f125af6d3083082072a0fd48ca4c3f6a4eabef1027ed3311cb22ad1b5caafe749e7fd3694f5b60590ff68086bfead6502b54e89c1e41d0deb91997c8077"
}