Edit report at https://bugs.php.net/bug.php?id=60289&edit=1

 ID:                 60289
 Updated by:         johan...@php.net
 Reported by:        arv_php at yahoo dot com
 Summary:            SSL Issue
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   any
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

PHP knows nothing about that. Many web servers will set $_SERVER['HTTPS'] to 
the value "on" when HTTPS is used, though.


Previous Comments:
------------------------------------------------------------------------
[2011-11-14 05:33:10] arv_php at yahoo dot com

Description:
------------
Its very surprising that we don't have any function or Super Global variable to 
tell us whether my current page URL is HTTP or HTTPS. 
For this we are still rely on server port to determine HTTP or HTTPS. but if 
both HTTP and HTTPS are running on same port (Let 80) then, No Idea how to 
determine that.
I just want to suggest that there must be a Super Global variable or function 
to fetch Complete current URL including HTTP/ HTTPS as java script provides.

I hope you all understand this concern and will provide some solution for that 
in next release.     

Test script:
---------------
Its very surprising that we don't have any function or Super Global variable to 
tell us whether my current page URL is HTTP or HTTPS. 
For this we are still rely on server port to determine HTTP or HTTPS. but if 
both HTTP and HTTPS are running on same port (Let 80) then, No Idea how to 
determine that.
I just want to suggest that there must be a Super Global variable or function 
to fetch Complete current URL including HTTP/ HTTPS as java script provides.

I hope you all understand this concern and will provide some solution for that 
in next release.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60289&edit=1

Reply via email to