On Apr 17, 7:49 pm, Andrew Koebbe <[email protected]> wrote:
> So I'm trying to use httpsocket to grab some data on an external
> server, but when I put the uri (let's say 'google.com/search'), I keep
> get a response from my own server saying that the page has permanently
> moved to "mydomain.com/search".

Sounds like it's trying to resolve "google.com/search" as a relative
path on your own server instead of an external url. Try specifying the
"http://"; in front and see if that works.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to