MySpace Friend List Export – Code now available

October 27th, 2007

The code for the MySpace Friend List Export script I wrote a while back is now available for download. If you’re a PHP programmer and are interested in viewing the source code for it, take a look at http://stuff.daniel15.com/php/myspace/get_friends.txt :)

The code is quite ugly, but, well, so is MySpace. That’s my excuse. :P

Updates to the Flash Embed application

October 3rd, 2007

Based on requests from users, I’ve now made the Flash Embed Facebook application much more user-friendly. Now, instead of entering in the Flash animation details manually, you can paste in a Flash embed code, and everything should be detected automatically. I tested this with some YouTube videos, CollegeHumor videos, and Miniclip.com games, and it all seems to be working fine :)

As usual, please report any bugs here as a comment, or via email.

Facebook Flash Embed app – News and Updates section

October 1st, 2007

Thanks to everyone that’s been testing my “Flash Embed” Facebook application and reporting problems to me. I’ve added a “Latest News and Updates” section to the application, so users are able to quickly see the latest updates. The bugs that have been reported so far are:

  • The animations display with a transparent background, even if a background colour has been specified in the Flash animation. [Unconfirmed]
  • The icon for the application does not have a transparent background. [Fixed on 2nd October 2007]
  • The dimensions of the Flash animation need to be entered manually. I’m not quite sure how to fix this, though (as I don’t think there’s a way to automatically detect how big the animation is).

If you find a bug in the application, please tell me about it (either by posting a comment here, or emailing me at facebook -[at]- daniel15.com)

Thanks guys! :)

Restore MySQL dump (backup) using PHP

December 9th, 2006

The other day, I was looking for an easy way to restore a MySQL dump (or backup, whatever you like to call it) in PHP. I’ve previously used a segment of the code from PHP MySQL Backup V 2.2 for this, but it didn’t seem to support FULLTEXT indicies that well. So, I searched around, but couldn’t find anything. I even asked on the PHP IRC channel, and they suggested to use shell_exec to call mysql (unfortunately, I’ve disabled shell_exec for security reasons). Looking closer, I noticed that this was actually quite easy to do. Read the rest of this entry »