convert site: perl/file to php/mysql
I am planning to convert my perl/ssi site with over 1000 html pages to a php/mysql site. So, I have to parse all these files and put the data into tables on the database.
What I need is write a script to parse files and then put them into the mysql database.
I have used perl for file access and regex parsing alot. I have used php for mysql access alot.
I can't decide which language to use. Should I use perl to get the most of its regex function and learn the perl database connectivity part? Or should I use php for its database function and learn its file access methods?
Thanks for any help.