PHP version select with Directadmin
Choosing and enabling multiple PHP versions with the selector in the Directadmin panel. Directadmin allows up to 4 active PHP versions to be used and chosen from. The first listed…
PHP backend web language
Choosing and enabling multiple PHP versions with the selector in the Directadmin panel. Directadmin allows up to 4 active PHP versions to be used and chosen from. The first listed…
Cutting a video into even segments and using the start and end time of the segment as its filename with FFmpeg and PHP. For this you will need the length…
How to access and filter through the NBA schedule API for season 2021-22 using PHP. This is not the only way and endpoint to get the NBA schedule however since…
A PHP function to convert a DateTime to a years, months, weeks, days, hours, minutes and seconds ago string. An option can be passed through to have a short string…
A concept to create a video trim FFmpeg command by using a slider to view the video at a start and end timeframe. The easy slider integration is with the…
A concept to manually create a thumbnail from a video by using a slider to view the video at a certain timestamp. The easy slider integration is from the noUiSlider…
Pushshift is a third party Reddit API useful to find comments and submissions (posts) from the past or that are otherwise archived. Searching submissions Searching submissions uses this endpoint: https://api.pushshift.io/reddit/search/submission/…
A Wget output parser that turns a Wget file download into a viewable JSON output. This provides a different observation and makes documenting network speeds possible. The doWget() function attempts…
A different method to finding values in an associated or nested array rather than use a loop. Looping The seemingly easiest way is to do a loop and when the…
Two handy and complimenting string functions in PHP that assist with string manipulation and any tasks involving breaking down a string. The first function is strpos which finds the position…