Window Machine Serial Number

Find Your Window Machine Serial Number Ever wanted to find your window machine serial number without looking at the hardware?  Try this.  From a command prompt, enter: wmic bios get serialnumber This tip can be found at: https://support.microsoft.com/en-us/kb/558124

Contact Form 7 Regex Phone Validation

I wanted a simple regex phone validation for WordPress plugin Contact Form 7.  The validation had to be in the form of xxx-xxx-xxxx. I ran across a blog page by Eric Holmes.  He was learning regex at the time, but did a superb job.  The link is: http://ericholmes.ca/form-validation-in-php-simplified/ He has since updated his original post at: http://ericholmes.ca/php-phone-number-validation-revisited/ So, in the …

Contact Form 7 Redirect Based On Form Field

I needed to create a form that redirects the user to separate PayPal accounts depending on selection criteria in the form.  In this case, a radio button. Fortunately, Contact Form 7 has a nice little feature (action hook) called: on_sent_ok This action hook will allow you to execute javascript code once the form email is sent.  The full syntax is: on_sent_ok: …