Awesome stuff have to use this on my blog can you only display ablums played in a user account instead of the top ablums of last .fm
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/vhosts/awebsite.com/httpdocs/lastfm/xml.php on line 9 recieving this area done everything as readme has said made folder permissions 777 aswell
Works great thank you, this looks great on my new design I am working on for my website.
its running of the server where my site is located
Linux server PHP 4 support PHP ‘safe_mode’ on what else do you need
No good sorry getting error on
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/theoddleaf.com/httpdocs/lastfm/xml.php on line 10
now bummers
Maybe i’ve found the solution!
please try delete the attribute public or private ahead the function, for Example:
before edit (Now):
public function load_url ($url) { ... }
after edit:
function load_url ($url) { ... }
Make this for all function in the xml.php file…
i’m waiting the response 
ok when i remove public function from load_url i get this
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/vhosts/theoddleaf.com/httpdocs/lastfm/xml.php on line 10
when i remove public for anything with it i get this error
Parse error: syntax error, unexpected ‘}’, expecting ‘{’ in /var/www/vhosts/theoddleaf.com/httpdocs/lastfm/xml.php on line 10
Hello, I was able to get the script for working out of the box quite easily; however, I really want to integrate it with my Wordpress blog. I’m not a coder but I’ve managed teach myslef a little … would you have any idea as to how i’d go about integrating the lastfm script with wp? thanks so much ~ 
This file is very COOL ! Love it – even though we have no real practical use for it – it rocks!!
Hi, is it possible to reduce the number of artwork it displays? I’m trying to limit it to 6 covers.
Anyone else have problems getting this to display only 3 or 4 albums?
Can anyone that has bought this and has it working, PLEASE contact me or reply here. I am determined to get this working on my personal site and it will not work! The author has tried to help, but it just will not work right for me. It only displays all/unlimited albums and will not display inline. Thanks!
awsm script. just wondering why i can’t get my last.fm list to update?
it’s been displaying the same albums since i implemented the script, but i’ve listened to several albums since… any assistance would be appreciated. thnx.
gumey, has it updated since? I think it might be on Last.fm’s end. Maybe slow to update or no?
Were you able to display only a certain amount of albums? I can only get it to display unlimited.
I want to give this a good rating, but it just won’t work!
I limited the amount of albums…
I still can’t get the albums to update… i’ve listened to several others since posting previously.
I want to give a good rating too, but need to support first.
Have there been any updates to the code? My album list still isn’t updating… 4 months later.
I’m wondering if it’s possible to get a refund if the issue isn’t resolved? This is really bugging me.
- Has been a member for 2-3 years
- Exclusive Author
- Sold between 100 and 1 000 dollars
- Bought between 10 and 49 items
- New Zealand
I’ve been trying various ways of showing my lastfm stats on my site for awhile and this is the closet to what I’m wanting. Just want to add the artist name below the image.
I think it shows the most played albums over the last 12 months, so its not going to change much. Would be good if you have the option to change this date range in the config file.
in case you’d like to add a time period to script you can check out the API code at the link below.
http://www.last.fm/api/show?service=299
on line 51 the script loads the URL and you can drop in the “period” param right before the API key call.
i should look like this after your done
‘&period=7day&api_key=’


‘re running the script locally? if so you can test it remotely?
I’m trying to solve your problem, you can show me your configuration
Thanks.