View Full Version : working with https in php

03-21-2009, 11:34 PM
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

03-21-2009, 11:57 PM
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.... :)

03-22-2009, 02:59 AM
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!