When Spain colonized the Philippines, they were administrated by Mexico City. So it was Mexican Spanish, not Castilian Spanish, that influenced Tagalog.
Feel free to write to us if you have any questions. But before you do so, please take a look on our page with Frequently Asked Questions (FAQ) and even our sitemap to get a full overview of the content on our site.