php-scripts

Latest

  • MacGDBp Kills PHP Bugs Dead!

    by 
    Steve Sande
    Steve Sande
    06.16.2008

    Bothered with pesky PHP bugs? Grab a can of MacGDBp and exterminate those bugs FAST!18 year-old Beantown open source whiz Robert Sesek has announced that he'll be releasing his MacGDBp project bright and early on Tuesday, June 17 at his Blue Static website.MacGDBp builds on the open source Xdebug application to provide a native Cocoa Leopard-only app for remote debugging of PHP scripts. Connect to your running PHP script and you can do instruction stepping to see how your script is working. You can set breakpoints, view the current function call stack, and look at all local variable values.Robert noted that MacGDBp is designed to be very familiar to anyone who has spent time using the Xcode debugger. He's releasing the app under the GNU GPL version 2, which (duh) means it is available at no cost.If you do any work with PHP (hey, I'm constantly customizing WordPress myself), MacGDBp may be your new best friend. Be sure to set an iCal alarm for Tuesday morning and get your copy of MacGDBp.Thank you, Robert, for telling us about your app!Updated to add correct date

  • How to put Massively on your PHP enabled website

    by 
    Dan O'Halloran
    Dan O'Halloran
    04.02.2008

    In an ongoing series of articles we'll show you how to put Massively on your own blog, guild website, personal website, or even on your computer's desktop. For a complete list of the software that's covered, check out our guide's index.About PHP and RSS PHP is a very fun programming language. Just like most MMOs, it is easy to learn, and difficult to master. The idea behind PHP is that you enter a script, located within your webpage, and the server processes the script as it send the webpage to your visitor's web browser. PHP and things like it literally power the web – everything from Massively, to Google, to Amazon. For more information on PHP, I highly recommend O'Reilly's book Learning PHP. How to get syndicate Massively using Magpie RSS The easiest RSS syndication addon for PHP I've found is Magpie RSS. It's quite simple to use, and can easily integrate itself into existing page architecture. A sample Magpie script that would syndicate Massively would look like this: require_once 'rss_fetch.inc'; $url = ' http://massively.joystiq.com/rss.xml; $rss = fetch_rss($url); echo "Site: ", $rss->channel['title'], "<br>"; foreach ($rss->items as $item ) { $title = $item[title]; $url = $item[link]; echo "<a href=$url>$title</a></li><br>"; } Of course, the above is just a rough template and doesn't include any formatting or bulleting or anything like that. Where other sites and tools listed above will provide you with lots of bells and whistles off the bat, PHP is bare bones – you have to make everything from scratch. Luckily there's a lot of great information out there and most of the work has already been done. However, that work is beyond the scope of this guide.If you want the Massively feed for a particular game, you'll find the rss feed url next to the name of the game in the side bar of our site. Copy and paste that url into the script.

  • How to put Massively on your web site and computer

    by 
    Dan O'Halloran
    Dan O'Halloran
    04.02.2008

    Everyone these days either has a blog or a guild site that they post to regularly; and it's especially common amongst the greater MMORPG community. One of the neat features of most of these sites is that they allow you to subscribe to other blogs, like Massively. The software of these sites and tools can put up our headlines in easy to access places, so you and all your friends can stay up to date on the latest Massively news.Getting this setup might seem like a hard thing to do, but it's really not. In fact, with our guide, complete with pictures, you'll be able to get Massively's latest news on your site in no time! We give you step-by-step instructions for sites and software like Guild Portal, Guild Launch, Blogger.com, Word Press, vBulletin, Google Reader, Outlook, and more. We also tell you the info you need to get our news setup on any other site.Continue reading on for a complete list of guides we provide.