> Include can handle URLs as the path if allow_url_fopen is set
correctly
> in the php.ini.  But it does have some limitations if being done on a
> Win32 platform instead of (*)nix.
> 
> Try reading this, it might shed some needed light.
> http://www.php.net/manual/en/function.include.php

Very true, but... you get the _result_ of the PHP code when you include
it through a URL. You get the same thing you'd see in the "View Source"
of your browser for a PHP page. 

If you want to include PHP code into other code, then you can't do it by
using a URL. You have to use a path to the file on your filesystem.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to