Bug #866: No need for Content-type header with virtual

From: Date: Thu, 22 Oct 1998 12:38:19 +0000
Subject: Bug #866: No need for Content-type header with virtual
Groups: php.dev 
Request: Send a blank email to php-dev+get-1959@lists.php.net to get a copy of this message
From: alex@finance-net.com Operating system: Solaris 2.6 PHP version: 3.0.5 PHP Bug Type: Documentation problem Bug description: No need for Content-type header with virtual In documentation : >virtual >virtual -- Perform an Apache sub-request >Description > >int virtual(string filename); > >virtual() is an Apache-specific function which is >equivalent to <!--#include >virtual...--> in mod_include. >It performs an Apache sub-request. It is useful for >>including CGI scripts or .shtml files, or anything else >that you would parse through Apache. >Note that for a CGI >script, the script must generate valid CGI headers. At the >minimum that >means it must generate a Content-type header. But if an haeder is include, the it's displayed in html. virrtual() work without header at all. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1959) next »