Get product collection of current category on category page. First we get current category ID and load it. And then get product collection.
Here is full code....
 $cateid = Mage::getModel('catalog/layer')->getCurrentCategory()->getId();
     $category = Mage::getModel('catalog/category')->load($cateid);
   
   $pro = $category->getProductCollection()->addCategoryFilter($category)
        ->addAttributeToSelect('*');
foreach($pro as $collection)
  {
 echo $collection->getName(); //here we get any details of product
   }