See the Google Maps Guestbook in action
This set of files can be used in conjunction with Google Maps to produce an interactive Guest Book for visitors to your website.
Instead of a list of name/email/comments, Google Maps Guestbook has a visual interface where entries to the Guestbook are indicated by a 'Marker' on top of a map of the world.
Please download the following two files:
Use the contents of guestbook-table-schema.sql, or the script below to create a table "guestbook" on your MySQL database:
CREATE TABLE IF NOT EXISTS `guestbook` ( `id` int(11) NOT NULL AUTO_INCREMENT, `lat` varchar(30) NOT NULL, `lng` varchar(30) NOT NULL, `comments` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Unzip the files in google-maps-guestbook.zip to a new folder. Edit the contents of the following files:
$server = "********"; $user = "********"; $password = "********"; $database = "********";
Upload all files to your webserver in the following relative structure:
Browse to google-maps-guestbook.php and ensure you see a map of the world with no markers ... yet.
Test the guestbook by clicking on the map and adding an entry.
Google Maps Guestbook is intended to be used by visitors to your website.
The interface has a minimal set of options to make the new entry process as simple and as quick as possible.
Guestbook entries are stored in the MySQL database.
https://developers.google.com/maps/documentation/javascript
$doc = preg_replace("/\\\\/","",$doc);
Hello, I really appreciate posts which contain interesting info and which I am always eager to read! Great site!
Very nice site!
By Pharme320 on 15th May 2014Very nice site!
By Pharmg633 on 3rd May 2014I have to agree with your statement with this issue and akkdedcceekdfkdb
By Smithf879 on 30th April 2014Some updates to code and instructions.
By Daft Logic on 10th May 2011You can now download the code
By Daft Logic on 14th April 2011Where exactly do we download this awesome guestbook?
On 9th November 2009where to obtain?
By adam on 26th July 2008There's no need to create an account or provide unnecessary details. Just your comment.