From:             webmaster at surrealhosting dot net
Operating system: Red Hat Lynix 7.2
PHP version:      4.3.3
PHP Bug Type:     *General Issues
Bug description:  Having a problem with include

Description:
------------
Hello well on my forum i have it include a header and footer from my main
page and i get this error 

Warning: Unknown(): stream does not support seeking in
/home/cflores/public_html/forum/global.php(313) : eval()'d code on line 4
 
Warning: Unknown(): stream does not support seeking in
/home/cflores/public_html/forum/global.php(313) : eval()'d code on line 9

The following code is what i put in my vbulletin forum.



Reproduce code:
---------------
ob_start(); 
require_once("http://www.surrealhosting.net/forum/header.php";);
$header3 = ob_get_contents(); 
ob_end_clean(); 

ob_start(); 
require_once("http://www.surrealhosting.net/forum/footer.php";);
$footer3 = ob_get_contents(); 
ob_end_clean(); 



Expected result:
----------------
i expect it to just show the header and footer phps 


-- 
Edit bug report at http://bugs.php.net/?id=26550&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26550&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26550&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26550&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26550&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26550&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26550&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26550&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26550&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26550&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26550&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26550&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26550&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26550&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26550&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26550&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26550&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26550&r=float

Reply via email to