March 22, 2009
By Martyn in PHP, Programming, Support, Utilities | 0 comments
All content is moving to a new home. In an effort to reduce the number of blogs I personally maintain I am eliminating them all in favour for Ventrino. In fact, Ventrino is the only site I maintain outside of the day job now :-)
email this | tag this | digg this | trackback | comment RSS feed
February 16, 2009
By Martyn in PHP, Programming, Support | 0 comments
More often than otherwise we receive complimentary comments about the support we give for the Ventrino product. I am instantly humbled by these comments as they really should be directed to other users of the script rather than Adam and I.
To understand the support we offer you need to know a little history of the [...]
email this | tag this | digg this | trackback | comment RSS feed
January 2, 2009
By Martyn in PHP, Programming | 1 comment
If you would like to redirect browsers based on their IP the following method can be used to handle multiple IP’s. You can choose to redirect entire networks or a single ip.
<?php
//array of ip’s you wish to block. Note that you can block an
//entire class by replacing it with 0, so to block [...]
email this | tag this | digg this | trackback | comment RSS feed
July 24, 2008
By Martyn in Programming | 1 comment
On more than one occasion these characters  have turned up just when everything else seems fine. Like a tiny weeney scratch on a new car, one that only you know about, these little bastards turn up and take the rest of the day to diagnose.
So what  is for?
 cannot be smoked or [...]
email this | tag this | digg this | trackback | comment RSS feed
July 7, 2008
By Martyn in Programming | 0 comments
To remove stuff such as punction and spaces (or anything you want) from a text box before sending to the server for validation you can use code like this, first the HTML:-
<input
name="name"
onblur="this.value = entrycheck(this.value);"
type="text"
size="20">
And then the following Javascript will remove invalid characters when the user moves to another field:-
<script type="text/javascript">
function namecheck(theInput) [...]
email this | tag this | digg this | trackback | comment RSS feed