ID:               24053
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jphey at netdoor dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Linux 2.4.20
 PHP Version:      4.3.2
 New Comment:

Don't include local files via http://..., use the correct path.



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

[2003-06-06 01:41:34] jphey at netdoor dot com

My web hosting provider says the problem is merely that "error logging
was set to all" and by changing that, the warning messages disappear.

So perhaps this is not a bug, but an intended behavior.

Still, I don't know why such a warning would be issued when no call to
fseek had been made.

------------------------------------------------------------------------

[2003-06-06 00:25:22] jphey at netdoor dot com

I have used the include "http://...."; directive with great success.

However, my web hosting company (hostforweb.com) must have just
upgraded their PHP software within the last week, because now ALL my
pages that use the include command include "Warning: main(): stream
does not support seeking /home/americaf/public_html/agenda/index.php on
line 1" 

The funny thing is, the actual include appears to "work" properly ...
the file IS included in the stream!  However, the warning message
appears anyway.

Here is a URL that demonstrates the problem:

http://americafirstparty.org/agenda/index.php

the first several lines of which are:

=========== begin index.php source ==========

<?php include
"http://americafirstparty.org/includes/plainpageheader.shtml";; ?>
<blockquote>


<h1>National Committee Meeting Agenda</h1>
<h3>Tuesday, May 20, 2003<br>Continued on May 27, 2003</h3>

=========== end of source snippet ============


I know this bug was fixed earlier, but perhaps it has resurfaced? 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24053&edit=1

Reply via email to