--- blah.pl:
#!/usr/bin/perl
print "Content-type: text/plain\r\n\r\n";
print "blah";
exit;

--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();

--- test.php (output):
blah
[ TMP:  ]

Looks like vertual() gets past the output buffer. How can I keep it in the buffer?

Thanks!
--
Ivik Injerd [ www.zavaboy.com ]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to