PHP

Debug in PHP: activate xDebug using WAMP

1

In this post I will show you how to configure xDebug in order to enable debugging in PHP using Eclipse.

Logo

What you need?

First of all you need some configuration on you WebServer:

  1. WAMP correctly installed (I used WampServer Version 2.1 64bit with default settings)
  2. Eclipse Helios for PHP Developers installed (I used Eclipse Helios 1.3.1 updated on 14 Feb 2011)

(more…)

Fix Tweetmeme button to be XHTML strict compliant

1

Tweetmeme plugin is a really great plugin for the integration between Twitter and WordPress, but it has a problem: Is not XHTML strict compliant.

With really few modification I will show how to edit code and make it XHMTL strict compliant.

  1. Locate the file twitter.php into your plugins/tweetmeme folder
  2. Edit the file and locate function twitter_generate_button
  3. Replace line 42
    $button .= '<iframe src="http://platform.twitter.com/widgets/tweet_button.html' . twitter_build_options() . '" ';

    with the following code

    $button .= '<object type="text/html" data="http://platform.twitter.com/widgets/tweet_button.html' . twitter_build_options() . '" ';
  4. Replace line 76
    $button .= ' frameborder="0" scrolling="no" allowtransparency="true"></iframe></div>';

    with the following code

    $button .= ' ></object></div>';

That’s it… Now your Tweetmeme button is strict compliant check it at http://validator.w3.org/

PPEasyMVC – Plinky Easy MVC

0

Today I published the first release of PPEasyMVC an easy and quick framwork for PHP5.

Project is still in developing in order to create a solid and easy framework for PHP5.

Source code and documentation available on google code: http://code.google.com/p/ppeasymvc/

See u

Ivan

ppdao – Plinky PHP DAO generator

0

Finally I decided to complete and publish an old project of mine. I called this project ppdao (Plinky PHP DAO).

This tool will speed up the way you generate and manage DAO object during a MVC development in php.

Stay tuned on this blog for new updates or go directly on Google Code main project site (http://code.google.com/p/ppdao/).

Bye.

Go to Top