That is an excellent solution for the majority of .kml files.

For large .kml files like the PCT, CDT or AT, google maps api cannot handle that much data.

Also, the url/file passed to your php script *needs* to be authenticated, as all sorts of XSS nasties can be passed to your php script.

Excellent site!

-postholer