That's technically impossible.
PHP is being parsed on your server, and there's no way for any user/server to get variable names, let alone values. Unless you tell PHP to output something, they'll just get a blank page.
The only thing that I can think of, is that you're using PHP's short open tags (<?), and the server doesn't have these enabled. So when you include the page in another page on your server, it'll parse the content as expected, but when you call the page remotely, you'll just get the source code.
Suggestion: Use .htaccess to block remote access to the includes folder:
... save this as ".htaccess" in your includes folder.