Generating PHP Documentation With NetBeans IDE

This screencast shows how to generate PHP documentation using PHPDocumentor with NetBeans IDE. Built-in support for PHPDocumentor was added in NetBeans IDE 7.0. The screencast includes details of installing PHPDocumentor with PEAR and configuring PHPDocumentor, NetBeans IDE and your php.ini file. This video is especially useful for developers using NetBeans on a Microsoft Windows operating system.

Continue reading “Generating PHP Documentation With NetBeans IDE”

Facebook Share Meta Tags

 

Configuring Meta Tags for Facebook Share

Adding Facebook Share to your website is easy. However, you can enhance how the shared item appears on Facebook by configuring how it gets previewed on a user’s profile and when a user tries to share it. You do this with a combination of <link> and <meta> tags.

Facebook Share passes along the URL of your page to our servers, which in turn looks up certain HTML tags within it. Those tags are used to display a preview of the page. In order to provide this preview, we always look for the title of the page, a summary of the main content and an image. If there’s media content on the page, those media files are also important to identify.

Continue reading “Facebook Share Meta Tags”

Sending e-mails via SMTP with PHPmailer and Gmail

SMTP for Gmail tutorial

  1. If you don’t have one, register a GMail account or setup your domain for Google applications.
  2. Download a recent version of PHPMailer (I used the version 5.02)
  3. Check with your web hosting provider if port 465 (TCP out) is open, if not ask him to open that port
  4. Include the PHPMailer class file:require_once('phpmailer/class.phpmailer.php');
  5. Create those two constant variable to store your GMail login and password. Use the login for your Google application mail if you have one. Continue reading “Sending e-mails via SMTP with PHPmailer and Gmail”