ID: 19475 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: WINXP and LINUX PHP Version: 4.2.3 New Comment:
If you are accessing a URL, you need to ensure that the URL is a valid URL :-) User Error -> Bogus. Previous Comments: ------------------------------------------------------------------------ [2002-09-18 09:46:17] [EMAIL PROTECTED] ahhh i am sending get variables as well... if i url encode them it seems to work ok... why would non url encoded variables work locally but not remotely, is it the way the wrappers work? ------------------------------------------------------------------------ [2002-09-18 09:41:28] [EMAIL PROTECTED] And you have allow_url_fopen=on in your php.ini and/or apache configuration? ------------------------------------------------------------------------ [2002-09-18 09:39:02] [EMAIL PROTECTED] Sorry I should have been more clear, I tested this on Win XP and then tested also on both of my live linux servers, the problem is consistent on all versions... ------------------------------------------------------------------------ [2002-09-18 09:32:25] [EMAIL PROTECTED] Read the docs at: http://www.php.net/include There is a note that says: The Windows version of PHP currently does not support accessing remote files via this function, even if allow_url_fopen is enabled. I can't see any reason why we don't allow it under win32, but that's the way it is. ------------------------------------------------------------------------ [2002-09-18 09:01:17] [EMAIL PROTECTED] 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... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19475 -- Edit this bug report at http://bugs.php.net/?id=19475&edit=1
