Welcome to WebmasterWorld Guest from 54.167.175.107

Forum Moderators: coopster & jatar k

PHP SSL - As simple as using https?

   
9:01 am on May 16, 2007 (gmt 0)

5+ Year Member



Hi,
I've done alot of searching on this, but have yet to find a clear answer to my question.

I'm writing my own CMS system that I'm going to release as open source. However, the only bit that I don't really have any experience with at all, is SSL.

This is presuming that the server has the certificates, etc all ready working correctly. Just within the php script, is implementing support for SSL pages in my script, as simple as having the page that needs to be SSL secured running over https:// rather than [?...] Or is there a big chunk of SSL that I am missing?
Thanks

11:19 am on May 16, 2007 (gmt 0)

5+ Year Member



Should all work the same if they use http or https, the only thing you should do is have an ssl variable, and if set to true then make all the links in the CMS point to https.
11:19 am on May 16, 2007 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



If you are merely concerned about delivering page content via secure sockets then you are on the right track. From the Apache SSL [httpd.apache.org] docs

Which port does HTTPS use?

You can run HTTPS on any port, but the standards specify port 443, which is where any HTTPS compliant browser will look by default. You can force your browser to look on a different port by specifying it in the URL like this (for port 777): [secure.example.com:777...]

4:09 pm on May 16, 2007 (gmt 0)

5+ Year Member



Thanks for the quick reply. I've implemented the use of https opposed to http. I am now able to get the first alpha build up on SourceForge tonight so people can test it out. :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month