Windows server path logic
Hello,
Has anyone encountered a condition on a windows server where you needed to place a Slash prior to the go to file name to bind the location to the domains root?
For instance, I am deploying a new Windows 2016 server and it requires the following to work:
$GoToPage = "/thanks.php";
but on my prior server running PHP 5.6 we used:
$GoToPage = "thanks.php";
no slash... Without the slash the redirect goes to http://thanks.php
Just curious if anyone else ran into this?
PHP7 condition maybe?