http header support added for older version of php