Skip to content
Katie Nelson

Katie Nelson

Web Developer

  • Home
  • Blog
  • About
  • Library

Month: May 2012

Posted on 21st May 201210th January 2017

Getting File Extension Using PHP

Quick post, more as a reference for myself, of how to get the extension of a file using PHP.

Discovered a great post on Cowburn.info outlining the various ways to do this and the time implications, ending up with:

$filename = 'mypic.gif';
$ext = pathinfo($filename, PATHINFO_EXTENSION);

being the best option. Continue reading “Getting File Extension Using PHP”

Posted on 9th May 201210th January 2017

Mobile Safari jQuery Error

After developing and testing a mobile view for a site, I uploaded it to the live server and gave it a quick test. Loading it up on my iPhone the mobile view loaded as expected, but none of the jQuery features were working, as if the jQuery file hadn’t been uploaded. Continue reading “Mobile Safari jQuery Error”

Posted on 3rd May 201210th January 2017

Modx Evo eForm Throws Constant Validation Error On Select Options Created Using Snippet

Having to add a new form to an old Modx Evo site threw up a bug with the eForm add on today, when submitting the form I was constantly told I had an ‘Invalid Data Error’ on my dropdown field. Continue reading “Modx Evo eForm Throws Constant Validation Error On Select Options Created Using Snippet”

Recent Posts

  • 2018: 100 Things
  • Photography // Christmas at Blenheim
  • Developer // Accessing WordPress URL Function Values Within Javascript
  • Photography // Snowy Sunday in Banbury
  • Type With Pride

Recent Comments

  • Teemu on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Michael Croteau on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Joe on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Mate on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • John Hobson on Developer // ACF: Counting Repeater Rows Inside Flexible Content

Archives

  • January 2019
  • December 2017
  • November 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • May 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • April 2014
  • March 2013
  • January 2013
  • December 2012
  • September 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • February 2011

Categories

  • Bugs
  • Coding
  • Cool Stuff
  • CSS
  • Industry
  • Javascript
  • JQuery
  • Photography
  • PHP
  • Reading
  • Server
  • SQL
  • Thoughts
  • Uncategorised
  • Wordpress

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress