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

PHP – Latitude Latitude to Maidenhead Grid – HAM Radio

Posted on June 14, 2020August 17, 2024 By David Kittell

Recently I was asked by a HAM Radio friend to work on a conversion of latitude and longitude coordinates to maidenhead grid. The code below is in “rough” PHP code on purpose to help illustrate the math behind the conversion. Feel free to clean/optimize it all I ask is that…

Read more

Debian/Ubuntu LAMP Setup

Posted on January 18, 2018January 31, 2019 By David Kittell

The following code is for Debian 9 Stretch but should work on older Debian with minor changes

Read more

PHP – Date Conversion

Posted on September 15, 2017 By David Kittell
Read more

UNIX – Pi-Hole Project – Statistics

Posted on April 21, 2017June 10, 2019 By David Kittell

If you are using Pi-Hole you may find this script useful Currently this is designed to run on the server that is running Pi-Hole but as I have more than one I want to monitor I will soon have an update for additional. First make sure you update your /var/www/html/admin/scripts/pi-hole/php/data.php…

Read more

RedHat – WordPress Install

Posted on March 18, 2016March 6, 2017 By David Kittell

These steps are based on RedHat Server 64-bit Download RedHat Install RedHat Configure RedHat Install WordPress Configure WordPress Backup/Restore MySQL Database

Read more

PHP – File Download

Posted on March 16, 2016 By David Kittell

When WGET isn’t available PHP comes to the rescue. In this example $path file name can be different than the $url file name or the same, if it is different it will be saved with the file name in $path

Read more

PHP – Directory File Size – Recursive

Posted on February 23, 2016January 4, 2017 By David Kittell
Read more

PHP – WordPress Backup (MySQL & Files)

Posted on February 22, 2016February 23, 2016 By David Kittell

After writing WordPress – Backup & Restore I came across a site that I do not have SSH/CLI access to so I needed to have another option. If you have SSH/CLI access it’s best to use the process on WordPress – Backup & Restore. Sometimes you just need a quick…

Read more

PHP – WordPress – Blog Info

Posted on February 16, 2016 By David Kittell

This is a simple piece of code to provide basic information about your blog. The first lines of the code will restrict the PHP access to the command line interface (CLI) so not just anyone could/should be able to see the details. Additional Mime Types can be seen at: http://codex.wordpress.org/Function_Reference/get_allowed_mime_types

Read more

PHP – String Exists?

Posted on February 10, 2016 By David Kittell

Sometimes when working strings we need to know if a character or another string is within the string, this below will help. Reference: http://stackoverflow.com/questions/13577041/php-string-contains

Read more
  • 1
  • 2
  • …
  • 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