Re: How to use HTTPS with PHP



On Jan 1, 1:25 pm, "cpptutor2...@xxxxxxxxx" <cpptutor2...@xxxxxxxxx>
wrote:

Could some PHP guru please provide some hints ? I am trying
to use HTTPS with PHP 5.2.16, not with much success. Could
someone please suggest a way to link the two ?

On what system? What is your OS, HTTP server, and PHP setup (server
module, FastCGI, etc.)?

And what exactly are you trying to do, have PHP serve pages over HTTPS
or have PHP access data located elsewhere over HTTPS? The former has
nothing to do with PHP; it's a HTTP server configuration task. For
example, in Apache, it's done by writing appropriate entries into
httpd.conf (basically, it's all about enabling mod_ssl). The latter
requires that you have the OpenSSL extension enabled.

Sorry to be so sketchy, but it's really not clear what you are trying
to accomplish.

Cheers,
NC
.



Relevant Pages

  • Re: Authentication, https and security.
    ... > The page you fill in your login information should be https:. ... I'm not actually using PHP for authentication, rather basic authentication ...
    (comp.lang.php)
  • Re: [PHP] PHP Java extension--hopeless?
    ... >>Fortunately I've made contact with the guy who developed the Java code, ... >>and he has a vested interest in getting it to work with PHP too, ... > do this over HTTPS instead of plain old HTTP ... Or a servlet filter is fine in this situation that redirects to the ...
    (php.general)
  • Re: SSL php code
    ... > method to the php code that needs it assuming the user is maintaining ... redirect to https page. ... If user posts from/to http page, he'll lose the data as he will be ... redirected to https page. ...
    (comp.lang.php)
  • [Full-disclosure] JaPCrypt
    ... JaPCrypt means Javascript and PHP Encryption. ... JaPCrypt is a PHP class which purpose is to give encrypted communications over HTTP by using server and client side scriptng like PHP and Javascript. ... This project has been started because not every hosting provider gives HTTPS access, thus not having the possibility to manage safely sensitive datas. ...
    (Full-Disclosure)
  • Re: How to use HTTPS with PHP
    ... HTTPS with PHP 5.2.16, not with much success. ... JDS Computer Training Corp. ...
    (comp.lang.php)