Hi there Jochen,

Thanks for your assistance.

However am not familiar with host file entrys etc.

Is there a PHP function I can use to perform these and call the URL
mentioned below?

If you put it in the URL address, it returns XML as it should.

Just need a way to call this from a PHP script and store the XML to a
variable...

would really appreciate some assistance / direction with this?

Thanks
Brendan.

On Fri, Aug 20, 2010 at 8:09 PM, Jochen Daum <[email protected]> wrote:
> Hi Brendan,
>
> if you are calling an IP or a DNS name should not be something that
> concerns curl, the name resolution and routing is handled somewhere on
> the lower level IP stack of your server or development machine. You
> can test this assumption by creating a host file entry with your IP
> address:
>
> 10.0.0.1 test
>
> and using 'http://test' for the url in your curl call.
>
> You can also test if the other end actually listenes on TCP by using
> telnet 10.0.0.1 80, then enter "GET /" (blindly). You should get the
> page returned to the console.
>
> As Bruce said, what happens?
>
> Kind Regards,
>
> Jochen Daum
>
> Chief Automation Officer
> Automatem Ltd
>
> Phone: 09 630 3425
> Mobile: 021 567 853
> Email: [email protected]
> Skype: jochendaum
> Website: www.automatem.co.nz
> http://twitter.com/automatem
> http://nz.linkedin.com/in/automatem
> http://www.xing.com/go/invite/3425509.181107
> http://www.aucklandbusinessnetworking.co.nz
>
>
>
> On Fri, Aug 20, 2010 at 6:26 PM, Brendan Brink
> <[email protected]> wrote:
>> hi there
>>
>> Has anyone experience with cURL and IP addresses?
>>
>> Having issues calling an IP URL through CURL.
>>
>> Thanks
>> Brendan
>>
>> --
>> NZ PHP Users Group: http://groups.google.com/group/nzphpug
>> To post, send email to [email protected]
>> To unsubscribe, send email to
>> [email protected]
>>
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]

-- 
Kind Regards,

Brendan Brink

SMS Marketing Consultant | Manager
Sell2Cell Ltd.

021 0246 1646 | [email protected] | www.sell2cell.co.nz




  We provide customized, cost-effective SMS & Web Solutions
  Need a website? Need to integrate text-messaging into your business
  or website? Contact us today for a free no-obligation quote!

  VISIT OUR ASSOCIATED WEBSITES:   textvouchers.com | textguru.co.nz

WARNING This email contains information which is CONFIDENTIAL and may
be subject to LEGAL PRIVILEGE. If you are not the intended recipient,
you must not peruse, use, disseminate, distribute or copy the email or
attachments. If you have received this in error, please notify us
immediately by return email, facsimile, or telephone (call us
collect).

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to