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?
Can everyone (Microsoft, LibreOffice, Euro-Office, Apple) just come together and use one standard format?
I appreciate that everyone is turning around and saying, "but our format is better! Use our format!" but it just seems a bit pointless.
I just want to read and edit a document, for goodness sake...part of the reason I try and avoid the documents that people share is because it's too much of a headache. I don't care if you use Windows, Mac or Linux, but if I can't read the damned thing because of your preference I'm going to reply saying, "I can't open that and I'm not buying a new computer to read a 2 page document."
I noticed this was already happening within my organization; my teams location will change between remote and on-site without me having to do anything. Is it possible this is live already for select customers?
While LibreOffice is not pleased to see a new competitor, they are absolutely correct in stating that Euro-Office using a MS file standard as a default is not being truly "European." Using a MS standard just means Euro-Office is just a "bastardized MS Office Suite." (Wasn't a major purpose of Euro-Office was to get away from being captive and enslaved to MS's Office Suite??)
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