Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006
    Posts
    10
    Plugin Contributions
    0

    Default Is there a "secure page" flag or boolean I can check in the PHP code?

    I want to be able to include some tracking code in the non-secure pages of the site. That is, all the pages before checkout and login. Things like product pages, EZ Pages, etc.

    It would be great if I could just do a check against a "secure page" flag in the PHP for the footer or something and then include my tracking code there.

    The reason I want to do this is because the tracking code I want to use is not available over HTTPS and I obviously want to avoid browser warnings on pulling in non-SSL scripts into SSL pages.

    Thanks,
    Armen

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Is there a "secure page" flag or boolean I can check in the PHP code?

    $request_type will be either 'SSL' or 'NONSSL'
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 26 Sep 2008, 07:10 AM
  2. Replies: 2
    Last Post: 2 Sep 2008, 02:02 PM
  3. Analytics and the "Secure & Non-Secure" IE messages
    By cochlear in forum General Questions
    Replies: 5
    Last Post: 16 Jun 2008, 12:53 AM
  4. How to Change "Redemption Code" to "Coupon Code" & "GV Code"
    By dmfelder in forum Basic Configuration
    Replies: 5
    Last Post: 16 Apr 2008, 05:50 PM
  5. Can I add an Image to the "Contact Us" an the "About Us" page's
    By PetesTown in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Nov 2007, 05:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR