Create Custom google maps

I was browsing the google maps API the other day and came up on something pretty cool, google now allows you to make custom maps right on their website. Previously only the tech savvy knew how to accomplish through server side scripts such as PHP, not anymore! I played around with it a bit making a map for a website I’m working WCMP. You can draw lines, squares and circles and put markers wherever you want on the map. Google also boasts a rich editor to format the description of your marker even going as far as putting in pictures. This is a great tool for your clients website or even document a recent vacation you went one. Check it out, heres the one I made. If you make a cool map feel free to post it here so I can take a look.

Dynamic PHP Email Forms without massive amounts of code

Ever had a HUGE form that just emails basic information and just thought to yourself, damn there has to be an easier way to do this! I’ve got a solution that will work, basicly what it does is takes the form loops all the input fields and sends them through email (or proccess them any way you would like) I’ll go over the basics here.

First we need a form Lets start with something simple

Name: Email: Address:

Now to process it, first we will import all variables and send them through a loop


$server = $_SERVER['HTTP_HOST'];      

foreach($_POST as $key => $data) { 
  if($key != 'required') { 
      if($data !='') { 
          $message .= ''.$key.': '.$data.''; 


Now you can display your information if you wish or go further to send it with an email, im using a email class i built which you can download here.

echo '


Your forum Has been sucessfully sent with the following information

'.$message.' '; $m = new Mail(); // create the mail $m->From( "" ); $m->To( "" ); $m->Subject( 'New forum submission from '.$server.' Contact Page' ); $m->Body( $message); $m->Priority(4); $m->Send(); // send the mail

This method is very easy for sending simple forms where serverside validation is not needed. Check it out play with it and post if you have any questions ill be happy to help!

Worcester Wide Web gets new website

I started development on this new website you are currently viewing, this website is going to be a little bit different then the previous website I had up. I am going to focus on posting design code and snippets from php to ajax. This site is now sort of a side project as one of my contractors (one of the largest growing design firms in Worcester) opened up into what seems to becoming a full time employment position.  Dont get me wrong I am still taking projects on any scale but my time is just limited as of lately. I will be posting some new work as well as all my old work in the category “portfolio” and I will have a new get a quote section coming up very soon. So make sure you bookmark this website and check back soon.