wsg  

Re: [WSG] Re: Why code and no web pag

Jixor - Stephen I
Sun, 03 Feb 2008 08:32:55 -0800

Probs shouldn't keep this alive but I'll just quickly point out to Christian that the file path may be absolute to the file system, i.e. c:/mywebsite/crf_header.php is acceptable. Including with a url will be supported on some servers also but of course you'll probably not get what you were expecting if you try it on a local php script as it will actually open an http connection to the server and give you the script's output.

Christian Snodgrass wrote:
This isn't really the place to discuss this as it has nothing to do with web standards, but it is because you can't have an include using an absolute path, they must all be relative. http://www.example.com/page.php is absolute. /page.php is relative.

Hayden's Harness Attachment wrote:
Solved the problem. However, why does;

include "../crf_header.php";

Will work and;

include http://www.choroideremia.org/crf_header.php;

Will not?

Angus MacKinnon
Infoforce Services
http:ééwww.infoforce-services.com

It is impossible to rightly govern the world without God and the Bible.
George Washington



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************







*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************