-
Loading
-
Archives
- January 2012
- July 2011
- April 2011
- February 2011
- November 2010
- October 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
-
Meta
Tag Archives: Code
Calculating memory used by PHP to generate that page
Do you know how much memory those loops are using ? Why is this page taking so long to load ? Well with this simple PHP code you can daily benchmark different versions of your script to use the least … Continue reading
Posted in Code, framework, Technology, work
Tagged Code, develop, development, php, Technology, work
Leave a comment
Mootools Gallery ZoomBox Plugin
I needed a simple lightweight Mootools Gallery Lightbox, and after a few googles, I found nothing that suited my needs with out all the extra ‘captions’ and grouping and bloat. This is a simple zoom from start position type lightbox … Continue reading
Posted in Code, design, fun, javascript, Technology, work
Tagged ajax, class, Code, css, javascript, mootools, project, site, work
Leave a comment
Use PHP to find your mobile browser
I needed a quick way to include different files based on the if the visitor to a site is on a mobile device or a regular browser/computer. Every browser has a user agent depending on the operating system, browser and … Continue reading
Posted in apple, Code, fun, Technology, work
Tagged browsers, Code, fun, function, php, user agent
3 Comments
Javascript URI Address Segment Selection
I use the great CodeIgniter, PHP Framework a lot, Most site’s now days I create use it. One of the many good things is that way it handles pages request’s and PHP $_SERVER['REQUEST_URI'] to find which page we are on. … Continue reading
Posted in Code, fun, javascript, Technology, work
Tagged Code, javascript, Technology, work
Leave a comment
Using Mootools Request.HTML response Javascript using $exec
Javascript frameworks are great, no matter which one you use their all built to do more, quickly. I use Mootools for most of my JS needs, and something is I often use is the AJAX request functionality. Today I needed … Continue reading
Posted in Code, javascript, Technology, Uncategorized, work
Tagged ajax, Code, javascript, mootools, php, request
Leave a comment
IP Addressing – know your External IP
I often want to know my IP address from when I am not, when I am not at Home/Work. I know that there are Lots of sites out there that will sett it to you, but I wanted to set … Continue reading
Non-Ascii charactors in my AJAX responses !?
A while ago, I co-wrote a large site with Ryan while I was working at Zipline Interactive, this site uses Mootools 0.98 as we found to be getting a lot of �������� all through the JAX requested response code. For … Continue reading
Posted in Code, design, javascript, Technology, work
Tagged ajax, characters, Code, html, javascript, Life, mootools, php, s, site, url, urls, work
Leave a comment
Controlling Input with Mootools Javascript
On a project that I was recently working on, I had a series of text input boxes that I wanted to be numeric only fields. I have my PHP form validation to check that the data is numeric before entering … Continue reading
Posted in Code, javascript, Technology, work
Tagged box, class, Code, control, database, effects, extra, javascript, key, mootools, php, project, projects, site, work
6 Comments