Now downloads kml, and changes color value, but cannot make kmlLayer accept it.
Initial, untested basic php file added.
PHP file as extended to display in html to test code, which now works.
Redid kmlColourSetter to return/start download of editted file (to simulate existing site), and adjusted MapPage to call it.
When didn't work on server, tried altering to try to determine cause - believed to be permission issues
kmlColourSetter is now updated to edit/add LineStyles, to set the line colour rather than the fill colour.
kmlColourSetter.php now can be called with parameters url[must be a valid one] and col[will be checked and replaced if invalid], in the form kmlColourSetter.php?url=urlString&col=colourString.
It can also cope with col being null. When called on own, triggers file download, but returns null to MapPage when called (still working on).
Changed header value in kmlColourSetter to be the correct one for kml/xml, and changed the default colour to depend on method, to check when each was used.
In MapPage, made minor changes to find out why the KmlLayer won't accept the generated kml ->INVALID_REQUEST
Added comment on how php file parses to google maps just fine.
Merge branch 'Using_PHP' into kml_on_demand_plus_url
Merge is more for sake of showing overall direction. MapPage now tries (as KmlLayer refuses to accept the generted kml) to use kmlColourSetter to get its kmls, and gives them a user specified colour.