title: Using a .php file to generate a MySQL dump
body: <p>Here's the information I have:</p>
  
  <p>I am working with a Linux based system using MySQL and PHP5.  I need to be able to generate a <code>mysqldump</code> from within a .php file, and then have that dump be stored in a file on the server in a location I would specify.</p>
  
  <p>As I'm a PHP nooblet, I'd like someone to give me some assistance, guidance, or code, that would do what I require. This would have to be run remotely from the Internet.</p>