Gossamer Forum
Home : General : Perl Programming :

Ensuring script is called through https://

Quote Reply
Ensuring script is called through https://
Hi All,

Is there a piece of code that can tell if a script is being called through the secure https:// protocol?



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: Ensuring script is called through https:// In reply to
the $ENV{'SERVER_PROTOCOL'} should tell you

-- Gordon


s/(\d{2})/chr($1)/ge + print if $_ = '8284703280698276687967';