CURL alternative in Cakephp


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. App::import('Core', 'HttpSocket');
  2. $HttpSocket = new HttpSocket();
  3. $lastFMxml= $HttpSocket->get('http://ws.audioscrobbler.com/1.0/user/LennieZ/recenttracks.xml');

URL: http://lennaert.nu/2009/06/25/five-useful-cakephp-functions-i-just-dicovered

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.