Paul-D Posted June 2, 2019 Share Posted June 2, 2019 www.desmond-otoole.co.uk/secure/securefunctions.php /bank/admin/index.php what should I do in the index.php file to access securefunctions.php require("../secure/SecureFunctions.php"); require("../../secure/SecureFunctions.php"); require("www.desmond-otoole.co.uk/secure/SecureFunctions.php"); Nothing seems to work I just get a stupid google chrome page saying This page isn’t working Quote Link to comment https://forums.phpfreaks.com/topic/308785-how-to-include-a-file/ Share on other sites More sharing options...
Paul-D Posted June 2, 2019 Author Share Posted June 2, 2019 Cant close this topic. Wanted to but have a new problem. When I look at the page in google chrome I get This page isn’t working ... ERR_TOO_MANY_REDIRECTS But works fine in firefox. I am not doing any redirecting only if I haven't logged in then back to the log in page. Quote Link to comment https://forums.phpfreaks.com/topic/308785-how-to-include-a-file/#findComment-1567256 Share on other sites More sharing options...
ginerjm Posted June 2, 2019 Share Posted June 2, 2019 Where does this script run from? That would be the key to using a relative path for your includes. Quote Link to comment https://forums.phpfreaks.com/topic/308785-how-to-include-a-file/#findComment-1567257 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.