Tagged articles
response headers
13 articles · Page 1 of 1
This guide explains the PHP get_headers() function, its syntax, parameters, and usage examples, showing how to fetch and inspect HTTP response headers for tasks such as file information retrieval, existence checks, and web crawling.
BackendHTTPget_headers
0 likes · 4 min read

This article provides a comprehensive guide to PHP's header() function, covering its syntax, parameters, and practical code examples for page redirection, setting HTTP response headers, status codes, cache control, and file downloads, helping developers use it effectively.
HTTPPHPRedirect
0 likes · 4 min read

This article explains how to use PHP's get_headers() function to fetch HTTP response headers from a URL, describes its syntax and parameters, provides code examples for retrieving and printing headers, and outlines common use cases such as file information, existence checks, and web crawling.
HTTPPHPget_headers
0 likes · 4 min read

This article provides a comprehensive guide to PHP's header() function, covering its syntax, parameters, and five common scenarios—including page redirects, setting response headers, status codes, cache control, and file downloads—along with clear code examples and best‑practice tips.
Cache ControlPHPheader
0 likes · 5 min read

This article explains the PHP get_headers() function, its syntax, parameters, and usage examples, demonstrates how to retrieve and display HTTP response headers from a URL, and discusses common application scenarios such as checking remote file existence, obtaining file metadata, and supporting web crawling or monitoring.
BackendHTTPget_headers
0 likes · 4 min read

This article explains how to use PHP's get_headers() function to fetch HTTP response headers from a URL, describes its syntax and parameters, provides code examples, shows typical output, and discusses common use cases such as file information retrieval, existence checks, and web crawling.
get_headersresponse headers
0 likes · 4 min read

This article explains the PHP header() function, covering its syntax, parameter details, and typical scenarios such as page redirection, setting HTTP response headers, status codes, cache control, and file downloads, with clear code examples for each case.
BackendHTTPPHP
0 likes · 4 min read

The article explains the PHP function apache_response_headers, which returns an array of all Apache HTTP response headers or FALSE on failure, lists its parameterless signature, describes its return values, and provides a sample code snippet demonstrating its usage.
HTTPPHPresponse headers
0 likes · 1 min read

This article explains the HttpServletResponse object's role in Java web development, details common response header methods, highlights differences between addXXX and setXXX, and provides four complete servlet code examples covering cache control, page refresh, file download (including Chinese filenames), and dynamic image generation.
BackendFile DownloadHttpServletResponse
0 likes · 9 min read

This article explains how to use HttpServletResponse in Java web applications to generate captcha images, control browser behavior through response headers such as caching and refresh, implement redirects, and adopt recommended absolute URL path conventions using the servlet context path.
CAPTCHAHttpServletResponseJava
0 likes · 10 min read

This article explains the fundamentals of the HTTP protocol, compares HTTP/1.0 and HTTP/1.1, details request and response structures, and demonstrates how to control browser behavior with various response headers using Java servlet examples.
HTTPJavaServlet
0 likes · 15 min read

This guide explains the most important HTTP response security headers—such as X‑Frame‑Options, X‑Content‑Type‑Options, X‑XSS‑Protection, Content‑Security‑Policy, Strict‑Transport‑Security, and CORS headers—detailing their purpose, possible values, and how to configure them in Apache to harden web applications.
ApacheCORSContent Security Policy
0 likes · 6 min read

This guide explains why response headers like Server, X-Powered-By, and ASP.NET version fields expose critical information, and provides step‑by‑step instructions for disabling or deleting these headers in IIS using UrlScan, IIS Manager, web.config, and Global.asax modifications.
IISbanner grabbinginformation disclosure
0 likes · 5 min read
