Tag Archives: PHP

WordPress Management

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

In this position, I have a lot of WordPress management to do.  We have 250+ WordPress sites (and growing).  Management of that many sites has been a nightmare to say the least.  The savior has been two programs. The first … Continue reading


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP, WordPress | Tagged , , , , , | Comments Off on WordPress Management

My vimrc

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

My vimrc file I am putting this here as a backup location and for future reference. In the near future, it will be put into git and linked to there. Script // Moved to github here: https://github.com/jthayne/dotfiles


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP | Tagged , , | Comments Off on My vimrc

Project Euler Problem 10 – Revisited (PHP)

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Problem 10 The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. Script Execution Time: 22.5509 seconds Changes Basically, all math functions went … Continue reading


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP, Programming, Project Euler | Tagged , , , | Comments Off on Project Euler Problem 10 – Revisited (PHP)

Class for form creation

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

My Form Builder Class This class is designed to generate an HTML form using the following elements: Textboxes (with and without labels) Password Boxes (with and without labels) Check Boxes Radio Buttons The class is set up to allow for … Continue reading


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP, Programming | Tagged , | Comments Off on Class for form creation

Project Euler Problem 13 (PHP)

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Problem 13 Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 89261670696623633820136378418383684178734361726757 28112879812849979408065481931592621691275889832738 44274228917432520321923589422876796487670272189318 47451445736001306439091167216856844588711603153276 70386486105843025439939619828917593665686757934951 62176457141856560629502157223196586755079324193331 64906352462741904929101432445813822663347944758178 92575867718337217661963751590579239728245598838407 58203565325359399008402633568948830189458628227828 80181199384826282014278194139940567587151170094390 35398664372827112653829987240784473053190104293586 86515506006295864861532075273371959191420517255829 71693888707715466499115593487603532921714970056938 54370070576826684624621495650076471787294438377604 53282654108756828443191190634694037855217779295145 36123272525000296071075082563815656710885258350721 45876576172410976447339110607218265236877223636045 17423706905851860660448207621209813287860733969412 … Continue reading


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP, Programming, Project Euler | Tagged , , , | Comments Off on Project Euler Problem 13 (PHP)

Project Euler Problem 12 (PHP)

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Problem 12 The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms … Continue reading


Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Posted in PHP, Programming, Project Euler | Tagged , , , | Comments Off on Project Euler Problem 12 (PHP)