note 2477 modified in virtual by ronabop

From: Date: Sat, 26 Aug 2000 06:01:18 +0000
Subject: note 2477 modified in virtual by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3354@lists.php.net to get a copy of this message
The above problem still occurs in php4 b3. virtual returns the HTTP entity header after the requested file, when it's the first output to the page. Now, what is the proper behavior? Should virtual *never* output the HTTP header, or should it return the header but put it *before* any other output? The work-around to prevent seeing the header is, of course, to output something (such as echo " "; ) before calling virtual. http://www.php.net/manual/function.virtual.php

« previous php.notes (#3354) next »