[Support] Unterschiede durch PHP 5.2.5 bei include()?
Christian Glass
mail at christianglass.de
Fri Nov 23 13:41:29 CET 2007
Christian Glass schrieb:
> Hallo,
>
> Mein DW wurde bzgl. PHP automatisch auf 5.2.5 angehoben (vermutlich
> hatte ich vorher ne 4er???).
> Dadurch habe ich nun ein anderes Verhalten bei include():
>
> ######################################
> *Warning: include() [function.include]: URL file-access is disabled in
> the server configuration in...
>
> Warning: include(http://example.org/index.html) [function.include]:
> failed to open stream: no suitable wrapper could be found in...
>
> Warning: include() [function.include]: Failed opening
> '**http://example.org/index.html**' for inclusion (include_path='.:')
> in...
> *######################################
> *
> Was hat sich da geändert?
>
>
> Beste Grüße, Christian
> *
>
hmm sieht so aus, als ob es seit PHP 5.2.0 eine neue Direktive
"allow_url_include" gibt, die defaultmäßig "Off" ist.
OK- ich inkludiere da zwar "meine" Skripte als absoluten Pfad, aber ich
werde sie dann besser relativ inkludieren statt die Direktive
umzuschalten...
More information about the Support
mailing list