PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 16th, 2004, 03:11 AM
yonscun_lie yonscun_lie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 9 yonscun_lie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking How to use SSL

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

Reply With Quote
  #2  
Old July 16th, 2004, 06:26 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
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.

Reply With Quote
  #3  
Old July 16th, 2004, 06:51 AM
yonscun_lie yonscun_lie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 9 yonscun_lie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

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.

Reply With Quote
  #4  
Old July 16th, 2004, 09:26 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
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.

Reply With Quote
  #5  
Old July 17th, 2004, 02:20 AM
yonscun_lie yonscun_lie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 9 yonscun_lie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

thanks for your help dhouston.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > How to use SSL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway