Config for X-Frame-Options for the web
Because of security reasons, so some web servers or web frameworks will make request/response headers to be rejected, which is DENY, which means it...
Protect your Laravel-based websites from iframe embed
Just another tip for the day, to protect your Laravel sites from iframe embed, use this hidden middleware, FrameGuard.
IlluminateHttpMiddlewareFrameGuard::class
What it does is simple, set...
Remove image border effects on RevealJS
On RevealJS presentation, when you add a new image to the slides, it will be decorated around with border settings. In case you want...
Get FastCGI post body data using C
FastCGI is basically not different from a regular CGI application, hence, you can get the post body content from stdin. However, we need to...
Get query string on FastCGI using C
Query string is the fragment that is the literal string after the question mark on an URL.
For example, in following URL, http://blog.petehouston.com/api/posts?sort=desc&category=featured , the...