|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
HI, I have intall apache 1.3.x with ssl (openssl and modssl)
From PHP how to use SSL? For cases assume : Page A contain login form (like hotmail or yahoo!) only login form no PHP or anything else, Page B is our PHP file used to verified user (username and password). Am I need to secured Page A with HTTPS or just need to secured Page B since page A only contain <form> to login. how to call SSL from page A? am I only need to type action="HTTPS://domain//Page_B.php" on <form> tag? Sorry for bad english, Thanks any answer will be very appreciated ![]() |
|
#2
|
||||
|
||||
|
Your form action needs to use https:// in order to send the submitted data securely to page B. I think it's pretty common practice to use https:// for page A also, so that users know they're sending their data encrypted.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
Hm...A little things that confuse me, PHP has a lot build in function to deal with SSL. But by just calling HTTPs I can use SSL. So what this function used for? I have read it's documentation but still cann't understand.
![]() |
|
#4
|
||||
|
||||
|
I'm not sure what functions you're talking about for PHP and SSL. What you're wanting to do is at a higher tier than PHP code, though. You're wanting (I understand) simply to encrypt the results of a form posting. In order to do this, you just need to send the info over an SSL connection, which you do by specifying https:// in the form action.
|
|
#5
|
|||
|
|||
thanks for your help dhouston. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > How to use SSL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|