note 10358 added to virtual
| From: | david at audiogalaxy dot com | Date: | Fri, 29 Dec 2000 17:44:23 +0000 |
| Subject: | note 10358 added to virtual | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9202@lists.php.net to get a copy of this message | ||
I take it back. virtual() appears to work very differently now.
In the past I think it actually went out through TCP and made an HTTP request to whatever URL you
gave it. It probably tried to be smart about parsing the returned stuff, but sometimes screwed up
on HTTP entity headers, if you were still sending the header from the script making the virtual()
call.
I'm pretty sure I remember being able to request a php file - which must have spawned another
httpd process that ran its own PHP and fed me back the results.
Now you can only give a local path (from the perspective of Apache's root dir). So the above
mentioned HTTP header weirdness can no longer happen.
This seems more sensible, though less powerful.
http://www.php.net/manual/function.virtual.php