orbitz
05-24-2005, 12:35 PM
hi,
If I write a php page on SSL - is there anything I need to write in order to have the page work on SSL?
this page will have function such as editing, viewing and deleting data from mysql.
Thank you!
I am pretty sure you can leave the script the same as SSL just encrypts data being sent and recieved.
Dan Grossman
05-24-2005, 03:14 PM
Unrelated topics. As long as you don't have hard coded links/form actions back to http://, you will stay on SSL regardless of what technology is producing the webpages.
orbitz
05-24-2005, 05:25 PM
great!
thank you Carp and Dan Grossman for your helps. :)
Googled
05-26-2005, 01:47 AM
Everything works the same way using HTTP or HTTPS because it is only the way the data is transferred which is not the same not the data itself.
Although, if you are using cookies in your PHP code you must specify different parameters so they get transmited securely.
Sincerely
orbitz
05-26-2005, 03:47 AM
Originally posted by Googled
Although, if you are using cookies in your PHP code you must specify different parameters so they get transmited securely.
Sincerely
Do you have some info/tutorial on using cookies in php with SSL.
Thanks Googled
Googled
05-26-2005, 03:42 PM
Sure,
www.php.net check for the setcookie() function. The last parameter is what you should be looking for (bool secure).
There's enough examples there for you to understand how it works!
Regards
orbitz
05-26-2005, 03:46 PM
Thank you Google! you've been very helpful :)
Cheer!
orbitz
05-26-2005, 03:58 PM
HI Googled again,
I was just thinking about using session on secured area with SSL. Since session also uses cookie, what do we do to keep the session alive when a use goes from insecured to secured areas or vice versa?
I googled but couldn't find the anwser to my question.
Thanksss!