Skip to content

Buffer Now

  • Web Development
  • Systems
  • Projects
    • Open Source
    • Raspberry Pi
    • Arduino & IoT
  • Field Notes
  • Hire Me ↗

php

Order WordPress Posts by the Current User ID

July 31, 2026 by Rohit Kumar

Prioritize the current user’s WordPress posts with a scoped WP_Query filter or a secure prepared SQL query using the post_author column.

Categories PHP & WordPress Tags php, snippet, user-id, wordpress Leave a comment

Cascading Dropdown Using Ajax, PHP, and MySQL

May 19, 2018 by Rohit Kumar

Dependent dropdown with Ajax and PHP is a common script, so I created one for developers. This post is about how to create dependent dropdowns with jQuery, MySQL, and PHP. In this tutorial we fetch data from database, convert it to XML format, and populate it into a dropdown with jQuery/JavaScript. The reason to convert … Read more

Categories PHP & WordPress Tags javascript, php Leave a comment

HTML to Image PHP Script

February 3, 2013 by Rohit Kumar

Convert static or dynamic HTML to a JPEG image with PHP, HTML2PDF, and Imagick using a compact script, safe input, and sensible quality settings.

Categories PHP & WordPress Tags Field Notes, headless-php, html2image, html2pdf, imagick, pdf-to-image, php Leave a comment

Fix Joomla File Upload Issues on Plesk CentOS

December 6, 2012 by Rohit Kumar

Fix silent Joomla upload failures on Plesk CentOS by checking active PHP limits, temp paths, Joomla settings, and domain ownership safely.

Categories DevOps & Hosting Tags centos, Field Notes, file-upload, joomla, php, plesk Leave a comment

YouTube URL to Embed Code Generator — PHP Script

June 19, 2012 by Rohit Kumar

Recovered archive PHP script that converts YouTube and Vimeo URLs to embed iframe code, with custom dimensions, autoplay support, and thumbnail generation.

Categories PHP & WordPress Tags embed, php, youtube Leave a comment

Archives

  • July 2026
  • May 2018
  • December 2016
  • February 2013
  • December 2012
  • June 2012

Categories

  • Developer Tools
  • DevOps & Hosting
  • Open Source
  • PHP & WordPress
  • Raspberry Pi
  • Windows
© 2026 Buffer Now • Built with GeneratePress