php script for google maps

cengos

New Member
I am trying to create a google maps for mutiple domainthe php script is below:\[code\]$my_google_map_keys = array('host1' => 'key1', 'host2' => 'key2');$conf = array( 'google_maps_key' => $my_google_map_keys[$_SERVER['HTTP_HOST']]);\[/code\]but I can't make it work after put on my heading.any one can help please?sorry,originally, I use the script below for the API keys which is working fine:Now I want to use it for multiple domain, and replace by the php script, but it doesn't work. any idea what else should I do, or could you give me some idea how to update to V3.Many thanks!!
 
Back
Top