News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Schroder:
What SSL $_SERVER variables are available in PHP
September 02, 2013 @ 09:24:04

Kevin Schroeder has shared the results of a question he wanted answered when it came to PHP with a HTTPS (SSL) connection - which of the $_SERVER variables are available.

I found myself wondering what HTTPS variables were available in the $_SERVER variable today and didn't find a specific list (and didn't have mod_ssl installed). So as a public service, here is what my server says.

Thanks to some of the additional handling and information the SSL connection provides to PHP, there's several additional variables including things like:

  • HTTPS (set to "on")
0 comments voice your opinion now!
ssl server superglobal variable


blog comments powered by Disqus

Similar Posts

Stefan Esser's Blog: Suhosin 0.9.21 - XSS Protection

ThinkPHP Blog: Make the download of large files with PHP (and lighty) very easy

HowTo Forge: PHP Programming Basics

Kevin Schroder: What SSL $_SERVER variables are available in PHP

Community News:

Community Events

Don't see your event here?
Let us know!

php7 series composer framework api part2 interview application conference laravel opinion performance example symfony2 introduction library configure release community podcast

All content copyright, 2015 :: - Powered by the Solar PHP Framework