When writing something like PHP you can add other documents to your PHP script using commands like include. It is possible to use URLs, and using a URL for something that is a local file would generate extra HTTP requests. However, that is the sort of thing that involves being intentionally stupid to end up there.
Jay