Ask a Question related to PHP Bugs, Design and Development.
-
tony2001@php.net #1
#38966 [Opn->Bgs]: file() an external address returns a weird error message
ID: 38966
Updated by: [email]tony2001@php.net[/email]
Reported By: dgbauleo at yahoo dot com dot br
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Windows XP
PHP Version: 5.1.6
New Comment:
This is what your OS says.>Falha de uma chamada ao sistema que não deveria falhar nunca.
Previous Comments:
------------------------------------------------------------------------
[2006-09-26 21:23:21] dgbauleo at yahoo dot com dot br
Description:
------------
I'm trying to pass an external link to the file() function, but it
returns a weird error message in portuguese.
Assuming that I live in Brazil, the message in portuguese is not the
problem. What I don't understand is that the code was working, then
suddenly it started to raise the error message.
Reproduce code:
---------------
<?php
$aOrigem = file('http://rss.terra.com.br/0,,EI4795,00.xml');
?>
Expected result:
----------------
The lines of the file 0,,EI4795,00.xml should be passed as an array to
$aOrigem.
Actual result:
--------------
I received this error message:
Warning: file([url]http://rss.terra.com.br/0,,EI4795,00.xml[/url])
[function.file]: failed to open stream: Falha de uma chamada ao sistema
que não deveria falhar nunca. in D:\WebRoot\atualiza_xml.php on line 2
Translating the error message to english:
"Fail in a system call which should never have failed."
I don't believe this is a coding issue, since the file is only 1 line
long, and this code was working about 2 hours ago.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=38966&edit=1[/url]
tony2001@php.net Guest
-
Edit Button returns error message
When I click the Edit button on the home page, it lets me edit. When I navigate to any other page, it returns the error message "you can't edit this... -
#38966 [NEW]: file() an external address returns a weird error message
From: dgbauleo at yahoo dot com dot br Operating system: Windows XP PHP version: 5.1.6 PHP Bug Type: Filesystem function... -
Help: file() function returns "Message to long" warning. What is this about ?
Hi people: I'm experiencing the following problem and don't know what it is about. Any help greatly appreciated: My script retrieves the data... -
Weird message when starting, but no error
I installed PS 7 for the first time on XP and got this when opening PS. It said "You currently have Adobe Photoshop's primary Scratch and Windows'... -
recvfrom returns with an error code of 14, EFAULT "Bad Address"
I'll post the code at the bottom of the post. Whenever I try to retreive a udp packet sent via broadcast I get the errorcode EFAULT(bad address)....



Reply With Quote

