• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
base_url() and SSL

#1
[eluser]jdgiotta[/eluser]
We've set up a SSL for user verification and up until now I've been using base_url() to give me the application path for the form submission.

However, now I need to submit the form a HTTPS URL. Can base_url() still be used or is there a better solution?

Cheers,
- John G

#2
[eluser]Rick Jolly[/eluser]
You can use base_url and change it in config.php to add https: when the protocol is https. See this thread for examples: http://ellislab.com/forums/viewthread/60181/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.