|
#1
|
|||
|
|||
|
Hi,
I'm not very familiar with https/ssl. If I get a private ssl, and put a php file in the https folder, will I still be able to access files above the root folder from the php file? For example, if I have a http://domain.com/get.php I can use get.php to access /home/domain.com/private/files, will it work the same if I put get.php in httpS://domain.com/get.php ? Also, if I have a login.php file with variables login.php?username=enterusername&password=enterpas s , does putting the login.php file in https help prevent the username and password variables/input from being displayed in the url ? I want a way to secure user login and I know using https/ssl is the common way to go, but I've never used it before so am not sure how to it works compared to regular http. Thanks for any help
|
|
#2
|
||||
|
||||
|
You don't want to keep a separate https folder usually. Just keep everything in your same public_html, and have the links to some areas be to https (or use .htaccess to force the connection to use https--you can find the syntax for this by searching the forum).
Most everything you do on http you do the same way on https. Just make sure you know that a certificate bought for www.domain.com isn't also valid for just domain.com, so be careful about your links (and again, you can use .htaccess to force people to www). https really happens after php and all that is processed, and is just a different way for your information to go back and forth between the browser and the server.
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#3
|
|||
|
|||
|
Quote:
Thanks again. |
|
#4
|
||||
|
||||
|
Quote:
to HG!
__________________
Have a great day, Evan |
|
#5
|
||||
|
||||
|
Use .htaccess to force it on or off in certain areas. Generally you don't want to force it off, just on.
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#6
|
||||
|
||||
|
Think of a house on a corner. Doors on each street but they enter the same house. Same content, different address.
|
|
#7
|
||||
|
||||
|
Quote:
__________________
Have a great day, Evan |
|
#8
|
|||
|
|||
|
Ok, I get how it works now!
Thanks everyone !
|
|
#9
|
||||
|
||||
|
Thanks! Not everyone here appreciates them.
|
|
#10
|
||||
|
||||
|
I think the problem is not everyone here understands them.
![]() They are very helpful is the person reading them has logic skills.
__________________
Have a great day, Evan |
|
#11
|
|||
|
|||
|
Quote:
|
|
#12
|
||||
|
||||
|
LOL, not only that you have good analogy and logic, you've got a good sense of humor too! Most people I know don't have mixed logic and humor.
|
|
#13
|
||||
|
||||
|
Hello there,
I have to use an image(logo) for PayPal from secure location, how I can do it on HG? Please give me step by step non-programmer explanation how to set up https://mydomain.com/images/logo_for_paypal.jpg link Thanks M. |
|
#14
|
||||
|
||||
|
Try this link-- more options on the right:
https://www.paypal.com/us/cgi-bin/we...kLogos-outside All those images are using https.
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#15
|
||||
|
||||
|
i've often wondered if you didn't have a background in real estate or something, gwyn. you seem to favor building analogies.
__________________
~dix |
|
#16
|
||||
|
||||
|
Quote:
thx M. |
|
#17
|
||||
|
||||
|
Quote:
Secondly, SSL needs to be is installed (if you purchased your own). Contact HG support for this. Thirdly, to implement SSL, just use the link as you showed in your post when setting up your Paypal header image. For more info, check Paypal Website Payments Guide PDF (beware 4.5Mb link) https://www.paypalobjects.com/WEBSCR...ationGuide.pdf
__________________
- David |
|
#18
|
|||
|
|||
|
I had the same problem with IE showing a warning message on Paypal checkout when I used my custom logo on Paypal checkout page that my logo was not using SSL/HTTPS.
What you do is this. All Hostgator accounts have two URL's. 1. Code:
http://www.YOURDOMAIN.com 2. Code:
https://SERVERNAME.hostgator.com/~USERNAME Code:
https://gator123.hostgator.com/~capson/ Code:
https://gator123.hostgator.com/~capson/images/paypal_logo.jpg Last edited by capson; 10-27-2010 at 03:57 PM. |
|
#19
|
|||
|
|||
|
Yes nice answer its just a different way to access the same file. I think http:// and https:// are same destination files folder Thanks.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 03:52 AM.





to HG!
13 Tips for Getting Help in Support Forums



