Forum Moderators: coopster
since my hosting company has seems to have upragded PHP to 4.2.3 all my php includes produce the error mentioned in the title.
I have tried everything to supress the error warning but nothing helped. I tried @include and error_warning(0); but it did not help.
Finally I've rewritten all includes starting with http:// to local folders like /home/web/www/http/folder/site.html
Nothing helps .
Has anybody an idea besides the ones I already tried?
thanks a lot
[bugs.php.net...]
[php.net...]
4.3.2 is how many months old at this point? I think you may want to start looking for a new hosting provider....
I can understand that hosts might not change from one whole number version to another for fear of breaking existing sites, but not upgrading from 4.3.x to 4.3.y is just lazy.
If you are able to change over to includes via the local file system, that means that the files are on the local file system. You should not use http includes in that case anyway since it is over an order of magnitude slower.
Try this
include($_SERVER['DOCUMENT_ROOT'] . '/directory/file.php';
Tom