My Blog
My Personal Blog
Syndication feeds available

Restricting an input field to only numbers with preg_match_all() (PHP)

May 7th 2009 in PHP, Programming

This is a pretty easy way to restrict a field to only numbers.
The \D in the preg match is short for [^0-9], which will match all characters, except 0-9.
I’m new to the regex, so there might be a better way to do this. But this works for me.

I like to do all the validating [...]

Read On No Comments

How to install your Linksys WMP110 wireless card on linux

September 8th 2008

I run Ubuntu, but I imaging it would probably be the same for most distributions.
Install ndiswrapper, use your repos package search. On Ubuntu it is already installed.

yum search ndiswrapper

or

aptitude search ndiswrapper.

If you need to build from source, check out this post.
Download the driver files here. You can also snag them from the cd [...]

Read On No Comments


Recent Comments
  • No comments
Categories