I am using an include function but I get this error:
Warning: main() [function.main]: stream does not support seeking in http://www.evernet.co.uk/wtmark.php on line 0.
My include function looks like this:
include_once("http://www.evernet.co.uk/wtmark.php");
and I just get that error, and nothing inside the file is processed. Can anybody help. Thanks.
I think you can't use http:// in your inculde_once() function.
If this script exist on your server you can just do it like this:
include_once("mymap/wtmark.php");
but if it's not.. you can't use the script..
greetz Koen
I don't get you mean by include google.com
but: to include scripts from other servers.. you have to have password and usernames etc..
I hope you manage to make it all work
grtz Koen
As long as URL fopen wrappers are enabled (they are by default) you can include() an external URL, on Linux. Windows requires PHP 4.3 for this to work.
Username/password are irrelevant because the code is not parsed locally, it is just called as if a user had opened the page (i.e. if the external URL includes PHP code, that PHP code will be ignored).
Adam
"If you’re not using valid HTML, then you haven’t created a Web page. You may have created something else, but it isn’t a Web page." - Joe Clark
Bookmarks