General Community > Scripting Help
include() problem
Anguz:
I get this message:
Warning: main(): stream does not support seeking in /home/anguz/public_html/script.php on line 13
on line 13 is where the include() is
what does it mean? how can I solve it?
Parham:
can you show me the exact line. I suspect your trying to include() a file from the web...
Anguz:
--- Code: ---include("$url");
--- End code ---
and $url is a full url, so even if it's in the same server, I guess it considers it in the web instead of local... I tried writing a relative url, but it didn't work :(
I don't know exactly what the error means, but I could suppress the warning with
--- Code: ---ini_set(display_errors, "0");
--- End code ---
what does it mean? the warning I mean... I'm curious, cause it's the first time I see it ???
Parham:
from what I can see, it's either your php.ini file set up to not allow remote access to files, or it's a serious bug in php.
[Unknown]:
This is a bug in PHP.
Put @include.
-[Unknown]
Navigation
[0] Message Index
[#] Next page
Go to full version