php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "HTTPS"

How can you retrieve the full domain name with the HTTP or HTTPS protocol using PHP?

To retrieve the full domain name with the HTTP or HTTPS protocol in PHP, you can use the $_SERVER superglobal array. The $_SERVER['HTTP_HOST'] variabl...

Are there any best practices or recommended methods for enforcing HTTPS protocol usage in PHP applications?

To enforce HTTPS protocol usage in PHP applications, one recommended method is to check if the request is not using HTTPS and then redirect the user t...

How can PHP handle HTTP and HTTPS URLs when extracting content?

When extracting content from HTTP and HTTPS URLs in PHP, it's important to handle both protocols to ensure the script works for all types of URLs. One...

How can PHP developers ensure secure communication when using SOAP and HTTPS?

To ensure secure communication when using SOAP and HTTPS in PHP, developers should enable SSL/TLS encryption by setting the SOAP client options to use...

How can you specify that a form should use HTTPS instead of HTTP upon submission in PHP?

To specify that a form should use HTTPS instead of HTTP upon submission in PHP, you can check if the request is not secure and redirect the user to th...

Showing 21 to 25 of 1774 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 354 355 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.