This page contains a download and instructions for configuring the "Get Virtual Earth Token" page for PHP applications.
- Download vetokenPHP.zip.
- Extract the contents of vetokenPHP.zip to a Web-accessible folder.
- Open the file vetoken.php in a text editor and edit the $username and $password variables at the top of the file to contain your credentials for accessing Bing Maps.
- Edit the $refererUrls to include the URL of the server that hosts your Web site. For example, if your application is running at http://myserver.com/myApp.html, set your allowed refererUrls to include http://myserver.com. Only applications hosted on http://myserver.com can use your Get Virtual Earth Token page.