Hi everyone,
I've got my SSL and non-SSL pages in one directory on our webserver (for ease). I want to use relative links (rather than absolute links) but am not sure how to force the browser to use the SSL certificate and make it https:// without using absolute links.
The site is written in PHP and the code would be as follows;
Header ("Location: index.php");
^ How can i specify that to go to the relative page using SSL?
Also, when a link is SSL encrypted e.g. https://www.this.com/login.php how can I force a relative link to a non-SSL encrypted page?
Thanks in advance guys!
Last edited by EdB; 02-18-2009 at 07:26 AM..
|