Re: [Phplib-users] SSL and phplib
Brought to you by:
nhruby,
richardarcher
From: darcy w. c. <da...@el...> - 2001-09-19 15:59:53
|
"nathan r. hruby" wrote: > > On Tue, 18 Sep 2001, darcy w. christ wrote: > > > has anyone done any work with SSL? i am specifically looking for a > > solution in which authentication through phplib would only occur over > > SSL. Since the login form is included through php, i'm not sure of the > > best way to force authentication over SSL. i've thought about inserting > > some redirects, but i wanted to ask everyone out first before i get > > bogged down in my own hack. i appreciate any tips. > > > > change the redirects in the auth.inc file to use https or simply change > your loginform() to do a check if the port is 443 and redirect if not. > You'll also need to make sure that the actual loginform POSTS's to a > secure URI. i guess my only option is to use a meta refresh because the page_open has already started the headers and so i cannot use a header("Location: ... ") function. Does that seem right? -- ~darcy w. christ Elegant Communications Inc. 416.362.9772 x222 | 416.362.8324 fax |