#26550 [Fbk->NoF]: Having a problem with include
| From: | sniper@php.net | Date: | Mon, 15 Dec 2003 02:16:51 +0000 |
| Subject: | #26550 [Fbk->NoF]: Having a problem with include | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52060@lists.php.net to get a copy of this message | ||
ID: 26550
Updated by: sniper@php.net
Reported By: webmaster at surrealhosting dot net
-Status: Feedback
+Status: No Feedback
Bug Type: *General Issues
Operating System: Red Hat Lynix 7.2
PHP Version: 4.3.3
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-12-07 22:40:06] iliaa@php.net
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.
------------------------------------------------------------------------
[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