note 79931 deleted from function.include by mgf

From: Date: Wed, 18 Jun 2008 08:41:01 +0000
Subject: note 79931 deleted from function.include by mgf
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140554@lists.php.net to get a copy of this message
Note Submitter: dvrbox at yahoo dot com ---- NONE of the examples regarding HTTP includes work. If I use: include 'http://www.site.com/include/test.txt'; it returns: "Warning: main(1) [function.main]: failed to open stream: No such file or directory in /home/xxxxx/public_html/events/index.php on line 59" This just started happening in the past couple of days so my only guess is that my host "upgraded" me to a newer version of PHP4 without my knowledge which doesn't allow HTTP includes. I can include it using include 'test.txt' but then it has to be in each directory where I want to include it and that defeats the whole purpose.

« previous php.notes (#140554) next »