I'm getting unexpected data from my file_get_contents function using an url
as filename.
The function does not return false, i do get data from it. Problem is that
is is not the data is requested.
$data =
file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid=0
);
if
On Tuesday 28 December 2004 20:03, Ewout de Boer wrote:
$data =
file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid=
0 );
if ($data)
{
...
the string this function returns is the webpage from the default website of
the server where this php code is running
Ewout de Boer wrote:
I'm getting unexpected data from my file_get_contents function using an url
as filename.
The function does not return false, i do get data from it. Problem is that
is is not the data is requested.
$data =
I'm getting unexpected data from my file_get_contents function using an
url
as filename.
The function does not return false, i do get data from it. Problem is that
is is not the data is requested.
The ISP made a mistake in the server config :-( ... it works again
regards,
Ewout
--
PHP
4 matches
Mail list logo