#19475 [Bgs]: Problem using include with files on different domain

From: Date: Wed, 18 Sep 2002 14:01:17 +0000
Subject: #19475 [Bgs]: Problem using include with files on different domain
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19637@lists.php.net to get a copy of this message
ID: 19475 User updated by: greg@tidalflow.co.uk Reported By: greg@tidalflow.co.uk Status: Bogus Bug Type: *General Issues Operating System: WINXP PHP Version: 4.2.3 New Comment: Basically... i am writing a php script that includes a file from a remote server. the initial script on 'www.domain1.com' includes a file from 'www.domain2.com'... include("http://www.domain2.com/inculudeTest.php"); this second script would include <?php echo("TEST"); ?> Expected Result; test Actual Result; Warning: Failed opening 'http://www.domain2.com/includeTest.php' for inclusion in /blah/cust/4/355/outside/www.domain1.com/testFile.php on line 1 Basically it would appear the inclusion of remote scripts now fails... Previous Comments: ------------------------------------------------------------------------ [2002-09-18 08:31:53] derick@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-09-18 08:28:51] greg@tidalflow.co.uk It would appear the files can no longer be included from remote servers (i.e. outside of the domain of the file requesting the include)...? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19475&edit=1

« previous php.bugs (#19637) next »