Hello,
I have a problem, just started yesterday.
source of the file <?php include("http://www.passageinternational.com/zfeeder/newsfeeds/zfeeder.php?zftemplate=worldnewstitle&zfshowurl=p1,p2,p3,p4,p5,p6"); ?>
this is the error: Warning: main(): stream does not support seeking in /public_html/somefile.php on line 2
yet when you go to the file it should include there is no error what does the error message mean and how do I get rid of it?
Thanks Chris
You can't include() a URL with variables on it.
this script was working fine for a month until yesterday?
The weird thing is that is displays the message and under the message it then includes the file it is supposed to?
Thanks
Scratch that. Here's the quote from the manual
If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using an URL (via HTTP or other supported wrapper - see Appendix I for a list of protocols) instead of a local pathname. If the target server interprets the target file as PHP code, variables may be passed to the included file using an URL request string as used with HTTP GET. This is not strictly speaking the same thing as including the file and having it inherit the parent file's variable scope; the script is actually being run on the remote server and the result is then being included into the local script.
So is this URL you're including your site?