Date: 10/22/98
- Next message: Bug Database: "[PHP-DEV] Bug #866 Updated: No need for Content-type header with virtual"
- Previous message: Peter Lerner: "[PHP-DEV] Re: Bug #850 Updated: pconnects fail if database has released session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alex <email protected>
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 <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #866 Updated: No need for Content-type header with virtual"
- Previous message: Peter Lerner: "[PHP-DEV] Re: Bug #850 Updated: pconnects fail if database has released session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

