eliminate php4 code - which was throwing a notice in php5.4
Merge pull request #10 from dlobo/NoticeFixes

eliminate php4 code - which was throwing a notice in php5.4