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

    working with https in php

    hey i am developing website which should be secured. i know for security https is used instead of http. but i have no how do i code in case of https moe specifically how would i start using https. i am sure reading so far you aleady known about my condition. so i need help working with https where server side scripting PHP is used.

    lease help me out by giving proper direction
    Edit/Delete Message

  • #2
    Regular Coder sea4me's Avatar
    Join Date
    Jan 2009
    Damn, I don't know...
    Thanked 28 Times in 27 Posts
    You would have the same code but with https:// instead of http://

    For the SSL cert. you have to buy one or make one yourself...

    If you make one, people would get the unsecure SSL warning before visiting your site so they would leave....

  • #3
    Codeasaurus Rex
    Join Date
    Jun 2008
    Redmond, WA
    Thanked 100 Times in 94 Posts
    sea4me is exactly correct, there are a lot of vendors where you can get SSL and chances are if you buy hosting then your webhost offers them. If not you can get one from companies like GoDaddy.

    Make sure, though, that your coding is secure. Just because you're on an SSL connection doesn't mean people can't inject malicious code!
    Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
    My posts, comments, code, and suggestions reflect only my personal views.
    Web Portfolio and Code Snippets: http://shanechism.com


    Posting Permissions

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