Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    46
    Thanks
    3
    Thanked 0 Times in 0 Posts

    secure pages help please (SSL)

    Hi,

    First of all sorry if this is posted in the wrong place

    I have a shopping cart i have coded and i'm just about to put a SSL connection (https://) the question i would like to ask is:

    Will i have to recode my shopping cart to make it work with the SSL (in order to make it secure and encrypted) or will all the data that people enter(credit card, address etc) automatically be secure and encrypted?

    Many thanks
    Joe
    Last edited by Gibson; 01-05-2007 at 12:03 PM.

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    The sunny side of the Alps
    Posts
    230
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You won't have to recode your site - internet server will do all the encryption/decryption automatically.

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,049
    Thanks
    2
    Thanked 317 Times in 309 Posts
    If the http and https web pages are within the same web space (you can reach the same exact web page through both http and https) you need to have the code in your secure only web pages check that the connection is through https. If not, it would be possible for someone to enter a http address and get to a page that accepted CC input but was not occurring through https.

    For the above case, typically just automatically redirect the page to the https address.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    Regular Coder
    Join Date
    Jan 2007
    Posts
    213
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Gibson View Post
    Hi,

    First of all sorry if this is posted in the wrong place

    I have a shopping cart i have coded and i'm just about to put a SSL connection (https://) the question i would like to ask is:

    Will i have to recode my shopping cart to make it work with the SSL (in order to make it secure and encrypted) or will all the data that people enter(credit card, address etc) automatically be secure and encrypted?

    Many thanks
    Joe
    The only problem you may get is if you access images via HTTP from an HTTPS page, this will give your visitors the "Do you wish to display non-secure content"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •