sg

Çarşamba, Aralık 07, 2005

Re: Multiple Keys


If your pages are dynamically generated (eg php or perl) then you can
use something like the following perl:

if ($ENV{HTTP_HOST} eq 'localhost') {
$apikey = "bla-bla-bla";
} else {
$apikey = "blablabla";
}

then just
<script src="http://maps.google.com/maps?file=api&v=1&key=$apikey"
type="text/javascript"></script>

where the bla's are the two keys you registered

or if they are static html pages then you can do the same switch via
javascript. I would recommend searching the board as its been discussed
a number of times.

Barry

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık