|
Posted by "Gustav Wiberg" on 09/15/05 21:13
Hi there!
With that codeline I get... (I have B-one as webhost)
Warning: file_get_contents(): URL file-access is disabled in the server
configuration in /customers/varupiraten.se/varupiraten.se/httpd.www/test.php
on line 2
Warning: file_get_contents(http://php.net): failed to open stream: no
suitable wrapper could be found in
/customers/varupiraten.se/varupiraten.se/httpd.www/test.php on line 2
/G
http://www.varupiraten.se/
----- Original Message -----
From: "Richard Lynch" <ceo@l-i-e.com>
To: "Gustav Wiberg" <gustav@varupiraten.se>
Sent: Thursday, September 15, 2005 12:59 AM
Subject: Re: [PHP] Output of html without using functions?
>
> <?php
> echo htmlentities(file_get_contents('http://php.net'));
> ?>
>
> On Wed, September 14, 2005 3:31 am, Gustav Wiberg wrote:
>> Hi there!
>>
>> Ok.. Thanx!
>>
>> Yes, I must be able to get info from his site, BUT i can't install
>> anything
>> (Not Curl either) on the server because the server belongs to
>> b-one.net and
>> not me.
>>
>> Is it impossible then?
>>
>> /G
>> http://www.varupiraten.se/
>>
>> ----- Original Message -----
>> From: "George Pitcher" <george.pitcher@ingenta.com>
>> To: "Gustav Wiberg" <gustav@varupiraten.se>
>> Sent: Wednesday, September 14, 2005 10:08 AM
>> Subject: RE: [PHP] Output of html without using functions?
>>
>>
>>> Gustav,
>>>
>>>> If I write a function in PHP.
>>>>
>>>> Main question:
>>>> Would the partner be able to get the value from a function written
>>>> in PHP
>>>> across the Internet?
>>>
>>> Two issues here.
>>>
>>> 1. Do you need to be able to get data from his site? If so you need
>>> to
>>> look
>>> at curl functions - not used them myself.
>>>
>>> 2. Does he need to get info from your site? That's his problem - not
>>> yours.
>>>
>>> If you both decide that you won't converge to a single strategy then
>>> you
>>> will both have to build code to extract results from the other site.
>>> It
>>> wouldn't matter what the 'other' site was written in as long as it
>>> was
>>> generating the result in html (or soap, or xml etc).
>>>
>>> Hope this helps the thinking.
>>>
>>> George
>>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
>
Navigation:
[Reply to this message]
|