Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17769 > unrolled thread

Encrypting stuff

Started bybit-naughty@hotmail.com
First post2018-06-03 10:33 -0700
Last post2018-06-04 06:58 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  Encrypting stuff bit-naughty@hotmail.com - 2018-06-03 10:33 -0700
    Re: Encrypting stuff Jerry Stuckle <jstucklex@attglobal.net> - 2018-06-03 20:00 -0400
    OT: Encrypting stuff (secure connection) "J.O. Aho" <user@example.net> - 2018-06-04 06:58 +0200

#17769 — Encrypting stuff

Frombit-naughty@hotmail.com
Date2018-06-03 10:33 -0700
SubjectEncrypting stuff
Message-ID<4901acf9-9439-4b59-8e4f-9960d508d72c@googlegroups.com>
Hi,
I have a form with 2 fields, which I would like encrypted between client and server. Do I just change the "action=http..." to "action=https..." in the HTML or what? It doesn't seem to be working when I test it local.... if I say "http://localhost/prog.php", it works, but "https://localhost/prog.php" does not....

[toc] | [next] | [standalone]


#17770

FromJerry Stuckle <jstucklex@attglobal.net>
Date2018-06-03 20:00 -0400
Message-ID<pf1ved$q5m$1@jstuckle.eternal-september.org>
In reply to#17769
On 6/3/2018 1:33 PM, bit-naughty@hotmail.com wrote:
> Hi,
> I have a form with 2 fields, which I would like encrypted between client and server. Do I just change the "action=http..." to "action=https..." in the HTML or what? It doesn't seem to be working when I test it local.... if I say "http://localhost/prog.php", it works, but "https://localhost/prog.php" does not....
> 

This has nothing to do with PHP.  Try asking in a group supporting your 
web server.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#17771 — OT: Encrypting stuff (secure connection)

From"J.O. Aho" <user@example.net>
Date2018-06-04 06:58 +0200
SubjectOT: Encrypting stuff (secure connection)
Message-ID<fnjv71FslehU1@mid.individual.net>
In reply to#17769
On 03/06/18 19:33, bit-naughty@hotmail.com wrote:

> I have a form with 2 fields, which I would like encrypted between client and server.
> Do I just change the "action=http..." to "action=https..." in the HTML or what?

This will only work if you have configured your web server to use
certificate (you can get free one from letsencrypt.org)

To make it secure, the form page needs to have been sent over a secure
layer too, not just the post pack.


> It doesn't seem to be working when I test it local.... 
> if I say "http://localhost/prog.php", it works, but "https://localhost/prog.php" does not....

For more information how to use certificates ask in a newsgroup related
to your web server

-- 

 //Aho

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web