Senseless Babel

Senseless Babel/

Revisiting Poetry Asylum

By |2014-01-05T10:19:31+00:00June 6th, 2012|Random|

Wow.. you know its been years since I’ve put any serious thought into Poetry Asylum and almost just as long since it was taken down due to Moving around so much both physically and digitally. Life moved on without it for a long time. Things got lost, priorities changed, and so on.\r\n […]

.htaccess redirect files on a one to one basis

By |2014-01-05T10:20:54+00:00June 3rd, 2012|Code, htaccess|

Lately I have been going over sites I have helped people with in the past revisiting them if you will, I have also been reevaluating some of my old sites that no longer exist yet still have the domains for. While doing this it dawned on me, that I have allowed some people to host [...]

MySQL Query to get radius of longitude and latitude

By |2014-01-05T10:22:20+00:00March 8th, 2012|Code, MySQL|

Lately I have been doing a lot of work with longitude and latitude references, of which I needed to search my Database for points of interest surrounding a particular reference. At first it was quite difficult, as I have never done something to that extreme query wise, and I couldn’t find something via google or [...]

PHP Debug Array or JSON object easily

By |2014-01-05T10:22:43+00:00March 8th, 2012|Code, PHP|

As a engineer I work with Arrays of Data, day in and day out. Whether its building them out or pulling them in from somewhere. More often than I’d like to admit something gets lost in translation and I have to see whats going on. Now most people will just simply do a quick debug [...]

PHP Validate Email Address

By |2014-01-05T10:23:09+00:00March 8th, 2012|Code, PHP|

If you have ever needed to validate an email address to see if the format is good then heres a nice function that does that and more up to and including checking the DNS of the domain of the email address to see if its actually a real domain. Though a lot of people will [...]

PHP Strong Password

By |2014-01-05T10:23:15+00:00March 8th, 2012|Code, PHP|

If you want to prompt your users to create password that is a certain length more or less, that is also strong by today’s definition then here is a good example. This can be elaborated on even more but for common use in most practices this is more than enough. You can comment out like [...]

PHP Verify a Dollar Amount

By |2014-01-05T10:23:29+00:00March 8th, 2012|Code, PHP|

Just a simple function to see if an input numeric value is actually a US Dollar (USD) format\r\nExample:\r\nTwo Dollar Amounts provided to the script.. 1502.38 and 10O.00\r\n\r\nGood: 1,502.38\r\nBad: 10O.00 came back false. \r\n […]