You are here: detect http or https in script « PHP Programming Language « IT news, forums, messages
detect http or https in script

Posted by ChrisJ on 06/20/05 13:30

I need to include some javascript in my pages to display a "trusted"
logo. I need one script if its an https page and a different one if its
an http page. All the pages are created dynamically by the oscommerce
scripts. How can I detect whether the page is to be delivered over http
or https so I can choose which to display?

Chris

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация