TotalChoice Hosting Family Forums: Php And Mysql On Https - TotalChoice Hosting Family Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Php And Mysql On Https Can I connect to databse from https ?

#1 User is offline   music4missions Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 11-April 05

Posted 11 April 2005 - 08:03 PM

I want to be able to store my clients shopping experience via a cookie and MySQL.

When the user goes to the secure area I want to log there cookie and details into a MySQL database for processing.

Is it possible to do this in a secure way ??

I know exactly how I want to script it but how do I connect to my localhost database when in a https sessions ??

Is it the same as connecting from my domain ??

#2 User is offline   TCH-Andy Icon

  • Immediate Family
  • PipPipPipPip
  • Group: Staff
  • Posts: 4,729
  • Joined: 14-January 03

Posted 12 April 2005 - 12:31 AM

Hi,

Welcome to the Forums :)

Yes, it can be done, and you would do it in exactly the same way as from your domain using http.

If you want to make the storage additionally secure, you should encrypt the information in the mysql database. (Https, only secures the transmission of the data between server and client).
Andy Beckett

#3 User is offline   TCH-Thomas Icon

  • Volunteer Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 15,270
  • Joined: 01-May 03

Posted 12 April 2005 - 04:41 AM

Welcome to the forum, music4missions. :)
Thomas Jikrantz
Forum Moderator
TotalChoice Hosting, L.L.C.

Any links or suggestions for third party software/sites should be used at your own risk. My opinions and recommendations are not necessary those of TCH and TCH is not responsible.

As a Forum Moderator I can assist in answering many of your hosting related questions. However, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

Web Hosting by Total Choice Web Hosting - 24/7 Help Desk

#4 User is offline   stevevan Icon

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 3,537
  • Joined: 26-April 03

Posted 12 April 2005 - 04:42 AM

Welcome to the forums!
Steve, W4SJV

"When all else fails (and it will)...there's Amateur Radio!"
"It is better to let people THINK you're a fool than to open your mouth and remove all doubt."

#5 User is offline   music4missions Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 11-April 05

Posted 12 April 2005 - 06:39 AM

How would you recommend this be done ??

I have only used MD5 before that makes the information un readable to me though which is useless.

Any Ideas on PGP ??

This post has been edited by music4missions: 12 April 2005 - 06:40 AM


#6 User is offline   TCH-Bruce Icon

  • Lead Forum Moderator
  • PipPipPipPip
  • Group: Admins
  • Posts: 21,239
  • Joined: 11-August 03

Posted 12 April 2005 - 07:31 AM

Welcome to the forums music4missions :)
Bruce Richards
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum

I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

#7 User is offline   TweezerMan Icon

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 1,767
  • Joined: 26-September 04

Posted 12 April 2005 - 03:07 PM

Welcome to the forums, music4missions! :thumbup1:

It looks like you'd need to use something like one of PHP's Mcrypt encryption functions instead of hash functions such as MD5.
David Phillips (TweezerMan)
The Tweezer's Edge v3

#8 User is offline   TCH-Don Icon

  • Volunteer Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 11,679
  • Joined: 30-November 02

Posted 12 April 2005 - 03:18 PM

Welcome to the forums music4missions :D
Don Rosenquist
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!

Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.

I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.


treasure your pets

The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"

#9 User is offline   music4missions Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 11-April 05

Posted 12 April 2005 - 06:16 PM

Thanks for all the welcomes.

OK, I ran PHP Info and found mcrypt is there as an installed extension (Thanks again for great hosting)

I understand that I need to set a whole bunch of items for this type of encrytion($key, $cipher_alg, etc) so Ill let you know how I go.

I may even add a tutorial of how to do this to your forums so you can check Ive done it right an others can use it.

Thanks

#10 User is offline   TCH-Bruce Icon

  • Lead Forum Moderator
  • PipPipPipPip
  • Group: Admins
  • Posts: 21,239
  • Joined: 11-August 03

Posted 12 April 2005 - 06:37 PM

music4missions, on Apr 12 2005, 07:16 PM, said:

I may even add a tutorial of how to do this to your forums so you can check Ive done it right an others can use it.

Tutorials are always welcome. :clapping:
Bruce Richards
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum

I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

#11 User is offline   stevevan Icon

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 3,537
  • Joined: 26-April 03

Posted 12 April 2005 - 06:58 PM

A tutorial would be great! That way we ALL learn something!
Steve, W4SJV

"When all else fails (and it will)...there's Amateur Radio!"
"It is better to let people THINK you're a fool than to open your mouth and remove all doubt."

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users