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

From: Date: Thu, 22 Oct 1998 12:51:58 +0000
Subject: Bug #866 Updated: No need for Content-type header with virtual
Groups: php.dev 
Request: Send a blank email to php-dev+get-1960@lists.php.net to get a copy of this message
ID: 866 User Update by: alex@finance-net.com Status: Open Bug Type: Documentation problem 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. Full Bug description available at: http://ca.php.net/bugs.php3?id=866 -- 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 (#1960) next »