It worked on my super hacky XAMPP/Apache/cgi-bin set up; I don't have a proper Apache setup to test this on, so I'm planning to push these changes tomorrow under another name (phylotastic_blead.cgi?) and see if it works on the NESCent server before overwriting phylotastic.cgi. 

I hoped that the exit(1) would make Apache recognize it as an error, but it would be easier to add a "Status: 500" to the HTTP header.