Schlo_50 Posted November 23, 2007 Share Posted November 23, 2007 Hi guys, I uploaded some php based software of mine onto a secure server (SSL) and it used to work locally and on a non secure server although it doesn't seem to want to work on the SSL. I can login which works but when i get greeted with the admin page none of the links work?? I've tried includingthe php itself but nothing.. I've no idea why it doesn't work with a SSL server. In the address bar, if i delete the 's' from 'https' the page loads further but still doesn't load because the next page will also begin with https. I'll show you the page include code: (I am also running PHP 5) <?php if(!empty($HTTP_GET_VARS[pid]) and file_exists("./$HTTP_GET_VARS[pid].php")) { include("./$HTTP_GET_VARS[pid].php"); } else { include("config.php"); I have also tried using $_GET instead of $HTTP_GET_VARS but to no avail! Can someone help? Thanks! Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted November 23, 2007 Share Posted November 23, 2007 this looks like your server setup. some servers will have a separate folder for ssl and henc eyou would need you site to 'split' so that the protected pages were in that directory. However, you should investigate the differences in php settings on the server and the development machine - the secure socket layer should not have any bearing on the performance of the php engine... The fact you are still using $HTTP_GET_VARS (and expecting arrays to work as vars in a double quoted string across platforms) is a little disturbing... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.