I have a situation where I have to update a web site on a shared hosting provider. The site has a CMS. Uploading the CMS\'s files is pretty straightforward using FTP.
what do you think about:
system("cat xxx.sql | mysql -l username database");