beet
06-30-2004, 02:05 PM
Hi,
I'm just wondering whether theres a performance degredation when a URL is passed to the include() function, rather than using a system path to the file.
<?PHP include("http://YOURSITE.com/test.txt"); ?>
Or
<?PHP include("/test.txt"); ?>
I'd like to think that when you request a file from your site wih the http prefix, it would involve an additional apache process to handle it, whereas including a file via a path name would not.
Also, the reason I even use a remote call to my own server, was the fact that using the path to a file sometimes gave me problems showing up ; with a URL, it always displayed.
I'm just wondering whether theres a performance degredation when a URL is passed to the include() function, rather than using a system path to the file.
<?PHP include("http://YOURSITE.com/test.txt"); ?>
Or
<?PHP include("/test.txt"); ?>
I'd like to think that when you request a file from your site wih the http prefix, it would involve an additional apache process to handle it, whereas including a file via a path name would not.
Also, the reason I even use a remote call to my own server, was the fact that using the path to a file sometimes gave me problems showing up ; with a URL, it always displayed.
