Added support for pathinfo() in PHP < 5.2.0.
Added support for pathinfo() in PHP < 5.2.0.

Patch supplied by Oliver John Tibi. Thanks.

ProLoser/uploadpack,masahif/uploadpack13,szajbus/uploadpack,openback/uploadpack