By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,447 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

$_SERVER["HTTPS"] is empty

P: 293

Even thought the request is made through https , $_SERVER["HTTPS"] is empty .. Can anyone suggest why this is happening .?

Sep 23 '08 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 8,639
Even though it may not be of much help... does the phpinfo()/var_dump() output show nothing too? that's all I can think of.

Sep 23 '08 #2

Expert 5K+
P: 5,058
Try checking the $_SERVER['SERVER_PORT'] variable. If it is set to 80, you are using a non-secure connection.

If it is indeed a secure connection, it would be set to a different port (usually 443).
Sep 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.