homepage Welcome to WebmasterWorld Guest from 54.205.119.163
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP SSL - As simple as using https?
Fourjays




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

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

 

FiRe




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

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.

coopster




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

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): https://secure.example.com:777/


Fourjays




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

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. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved