Tag Archives: PHP

How to use NTLM authentication with NuSOAP?

For a couple of weeks I’ve been implementing Webservices to feed resources on a SugarCRM project that I’m working on. As you may know SugarCRM provides NuSOAP, which is a SOAP Toolkit for PHP that brings some extra functionalities to SOAP implementation provided by PHP.

Today I had to use NTLM authentication method, unfortunately it isn’t supported by NuSOAP yet, but I’ve found that if you combine cURL with NuSOAP you can get through without a problem.

Continue reading

UTF-8 + PHP = Headache?

As some of you know PHP doesn’t handle UTF-8 by default and that could lead to a terrible headache, at least till version 6 cames out.

Today I’ve spent some time looking for good articles on this subject. I’ve found two great articles that cover a lot of topics including strategies to use while working with MySQL:

Handling UTF-8 with PHP
Scripters UTF-8 Survival Guide

You can download the second one in PDF format and read it later.

Go PHP5!

A couple of weeks ago I’ve found this project, it’s name is GoPHP5 and it’s main goal is to speed up the transition of old PHP applications to the newer versions.

I totally agree with this project ideas and support them 100%, in my opinion it doesn’t make sense to keep developing applications using old PHP versions.

At the moment there are already a couple of big projects associated such as Drupal, CMS Made Simple, phpMyAdmin and others.

If you’re going to develop a new project or develop new features to an existing one, take a look at the website, spend some time reading and GoPHP5.

At the moment I’m only working with PHP5 and I’ve got to say, the new features are great.

Joomla! 1.5.6 Released

Till a couple of days now I was using Joomla! 1.5.5 but yesterday a new release came out.

This new release is a security release made to solve a high level security issue, then it’s recommended to upgrade immediately.

Some websites are already being owned because of this security flaw, do not risk to get owned too and update your website software as soon as possible.

If you need help read the migration/upgrade instructions in here.


Last week I’ve wrote in here that I was looking for a CMS with a couple of specs. After a lot of reading I’ve decided to bet on Joomla!, although it has a couple of bad reviews it fulfills my needs (I hope).

At the moment I’m running Joomla! 1.5.5 stable.

Yesterday after I installed the software I’ve looked for some tutorials that would guide me through the process of developing a component for this version of Joomla!.

It would be expectable to have some great tutorials in Joomla! Developer Network but to be honest I’ve got to say that the ones that are available are a bit poor, and most of Documentation is written for the older versions.

After a lot of searches I’ve found these tutorials and they are great, at least for helping me out in these first steps.

Continue reading

Symfony Framework

A couple of weeks ago I was looking for a PHP framework after a few searches I found one that fits my needs, and that is Symfony framework!

Some of the features are:

  • Built on top of PHP 5, for me that’s a plus since I’m only working with PHP 5 at the moment.
  • MVC support makes application building faster and easier.
  • CRUD generator will reduce code repetitions and useless boring time spent on building this tasks.
  • Lots of support, when you start learning something new, all the support available you can get is a plus.
  • And a lot of other features, such as: Ajax support, smart URL’s, cache management, multilingualism and l18N support, scaffolding, among others. You can check the features list at Symfony Project website.

The only thing I think it’s a bit hard, is the learning curve. What I mean is, you really have to “waste” some time to get to know how the application works, but I think in the end it will compensate.