Been developing a new project for a bit now and have finaly got my act together to begin the push to make it live. I have made a nice template file which calls various bits of information from various places. All of the includes in the page are done via a PHP Include. This works fine if your linking to a file thats easy to get to such as "header.php" however as soon as you try to use a full url "http://mywebsite.com/header.php" it breaks the include.
Anyone have any idea why this is and possibly know a way to fix this?
While I agree that in some instances you should be wary of the government, shouldn't we also be wary of corporations that have the money, reach and power of many governments?
Having good regulations is essential for population protection (from corps trying to make more money than the other guy). At least we can vote in and out governments, but these days your choice of consumer tech is now only a few very large players. And we also know "consumers" are idiots and need protecting, it's literally the government's job to deliver those services.
Good news, and about time too, but with Office 2019 perpetual licence no longer being able to edit files, is this completely stuffing up the entire suite, or removing the ability to edit files from within OneDrive? Sounds stupid to have a kill switch like that, and they could totally fine a way to update the certificate if that's the reason behind it..
Question
ludderz
Heya again
Been developing a new project for a bit now and have finaly got my act together to begin the push to make it live. I have made a nice template file which calls various bits of information from various places. All of the includes in the page are done via a PHP Include. This works fine if your linking to a file thats easy to get to such as "header.php" however as soon as you try to use a full url "http://mywebsite.com/header.php" it breaks the include.
Anyone have any idea why this is and possibly know a way to fix this?
Much apreciated
Ludz~
Link to comment
https://www.neowin.net/forum/topic/634519-full-url-in-php-include/Share on other sites
4 answers to this question
Recommended Posts