ID:               26550
 Updated by:       [EMAIL PROTECTED]
 Reported By:      webmaster at surrealhosting dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Red Hat Lynix 7.2
 PHP Version:      4.3.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

file_get_contents() is much better & faster and that is what you should
be using.
You also should try using the latest snapshot with it I do not see the
problem you've mentioned.


Previous Comments:
------------------------------------------------------------------------

[2003-12-07 16:45:57] webmaster at surrealhosting dot net

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 this bug report at http://bugs.php.net/?id=26550&edit=1

Reply via email to