I have been given the task of finding a replacement for a piece of old code. I’m assuming it tested to see if the browser supports 128-bit encryption. Here’s the old code: (I purposely split the link into 4 lines)
http://www.verisign.com/update-cgi/outPage.exe
?good=../docs/html/good.html
&nsbad=../docs/html/upgradeNSonly.html
&ie2=../docs/html/upgradeIEonly.html
Have you every seen this code before?
How can I duplicate this functionality inside a php page?
Clarification
The old webmaster found a link to verisign that that did the browser check. Verisign has since stopped supporting this link. Personally, I think we should simply tell our customers to click on the Help > About inside there browser and look for the cypher strength. If it’s not at least 128 then we simply tell them to upgrade there browser.
All modern browsers support 128 bit encryption out of the box. Do you have a need to support browsers older than IE 5.5?
You could either check the User-Agent string of the browser and make assumptions, or you could direct them to a page that uses a 128 bit SSL certificate and if they continue through it.. well, they must support it.