Category: PHP

Generate Youtube Embed Code from URL using PHP
June 14th, 2017 PHP 68 views

This is just a quick code snippet post on How to generate Youtube Embed Code from URL string PHP. Basically when we are building a user profile modules, and we need to take youtube video URLs from users, its very helpful. So that we just by using this URL, we can generate Youtube Embed code. […]

Read more  
How to add a div to wrap widget content area after widget title
December 14th, 2016 PHP 738 views

While developing wordpress theme, it has been always an essential thing for every theme developers. Everytime we create Widgets, wordpress allows us to wrap div to 2 places Over the whole widget Over the widget title but there is no option to wrap a div over the widget content. Here is the syntax that shows the […]

Read more  
Convert PDF to Image using PHP
December 27th, 2015 PHP 948 views

Recently one of my friend asked me if there is a way to convert a PDF to Image file. I tried to do that few months ago by following some tutorial that was using combination of Ghostscript and Imagemagick tools. But I didn’t succeed at that time as there were so many version conflicts on […]

Read more  
Instant image resize using PHP GD library
August 21st, 2015 PHP 1,301 views

While working on ecommerce website, I once faced a situation when my client requests me to change all the product thumbnail resolutions and I had to resize all the product images manually. Infact I made a PHP script to resize all the images in specific folder. But there is even better solution for this which […]

Read more  
My journey to learn Codeigniter
August 8th, 2015 Codeigniter 253 views

Here is a short story on how I started learning & training myself in Codeigniter framework & ended it within less than a Month. CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. When it comes about […]

Read more