If you want to pass data through/have cookies/etc. then PEAR
HTTP_Client is probably the way to go. If you just want to grab the
content, and display it as it is the fastest way is to use
file_get_contents (provided you have fopen wrappers installed) :

echo file_get_contents('http://www.example.com');

See http://www.php.net/manual/en/function.file-get-contents.php


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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