You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi,
I am writing a little script to show a popup - but i need to put in an IF statement for it not to show/run if the page is secure https
Like
if ($fd_ref ne 'https') {
But that does not work (it was a shot in the dark)
Does anyone know what the reference is to see if the page is secure or not?
Thanks
Offline
There is a page variable called 'secure'. You could try:
$secure = $q->param('secure'); if ($secure ne 'Y') {
I don't know if that variable is always available, but it certain is on the first page of the checkout when the checkout runs in secure mode.
Offline
Hi Rachael,
Thank you - that worked a treat.
I racked my brain and just could not think what it would be - You have saved the day again.
Offline
Hi Charlie,
You're very welcome - I'm glad it worked for you.
Offline
Rachael has such a large collection of Gold Stars and Kudos the US is in danger of tilting towards the East Coast
Offline
LOL... if only I could use them to somehow help the sorry state of our economy :-S
Offline
Yes Dave,
Rachael is great star - and her input on this forum is outstanding, more than I have ever know on any forum!
Rachael - Is the forum queen of 2008!!!
Offline