Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Category: PHP

WordPress – List All Plugins

Posted on September 22, 2015September 23, 2015 By David Kittell

Place the following code on a file ex. ListAllPlugins.php and then navigate to http://yourdomain.com/ListAllPlugins.php This is a PowerShell script to automate some of the information

Read more
Code

Ubuntu – WordPress Install

Posted on September 2, 2015May 31, 2017 By David Kittell

These steps are based on Ubuntu 14.10 Server 64-bit but can be applied to virtually any Debian based UNIX distribution.

Read more

Remove duplicates in a string array

Posted on September 1, 2015October 26, 2015 By David Kittell
Read more

PHP Facebook WebCal Parse

Posted on March 18, 2015 By David Kittell

I have seen various ways to parse webcal (ical, ics) files in PHP but they tend to get a little more complicated than they need to in some cases or simply do not work.

Read more

Token String

Posted on July 8, 2014October 26, 2015 By David Kittell

This PHP function will assist in splitting a string based on characters. Source: http://www.php.net/manual/en/function.strtok.php

Read more

Facebook Event List

Posted on December 19, 2013October 26, 2015 By David Kittell

This is not my work (Mike Dalisay), simply posting as I found this code useful. After creating an app, we’ll have the following codes on our index.php file Credit Goes To: Mike Dalisay @ http://www.codeofaninja.com/2011/07/display-facebook-events-to-your-website.html

Read more

Prevent Browser Cache

Posted on August 21, 2013October 26, 2015 By David Kittell

Sources: ASP – http://support.microsoft.com/kb/311006/en-us PHP – http://www.php.net/manual/en/function.header.php ColdFusion – http://www.bpurcell.org/blog/index.cfm?entry=1075&mode=entry JSP – http://www.jguru.com/faq/view.jsp?EID=377&page=2

Read more

PHP – File Size

Posted on August 15, 2013February 23, 2016 By David Kittell

Example: [insert_php] function getsize($file,$type) { $size = filesize(“$file”); if($type = ‘Bytes’) { echo $size; } elseif($type = ‘Kb’) { $kbmath = 1024 * $size; echo $kbmath; } elseif($type = ‘Mb’) { $mbmath = 1024 * $kbmath; echo $mbmath; } } echo getsize(getcwd() . $_SERVER[‘PHP_SELF’],’Bytes’) . ‘ Bytes’; [/insert_php]

Read more

Validate Links

Posted on August 15, 2013October 26, 2015 By David Kittell

Example

Read more

Password Generation

Posted on August 15, 2013October 26, 2015 By David Kittell

Version 1 Example:

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes