icon-blog

PHP Developers Help


New sub-domain dynamically on cPanel server using PHP

The following PHP code will create a subdomain on cPanel using the cPanel username and password. I was checked this code to create a subdomain and it worked well.   function create_subdomain($cPanelUserName, $cPanelPassword, $rootDomain, $subDomainName) { $addSubdomainPage = “/frontend/x3/subdomain/doadddomain.html?rootdomain=” . $rootDomain … Readmore +

Category: PHP

Install GD Library module on a cPanel/WHM Server

GD Library Error: imagecreatetruecolor does not exist The above is the common problem, Install GD library module on your web server. It’s a very easy task to do. GD Library is a PHP module which is used widely in image … Readmore +

Category: PHP

Show Hidden files and folders – Windows

I was using a Tools > Options > hidden files checkbox to enable disable hidden files and folders but its not working and when I was checking it back then the checkbox is unchecked. So I was searched a solution … Readmore +

Category: Quick look

AJAX, jQuery File upload with the additional form fields

I have been searching a good file upload plugin with jQuery, PHP. I was searched a lot on internet for the cross browser AJAX upload for my website feature, Sadly not found a single plugin that work as per my … Readmore +

Category: Ajax, jquery

Add Hour Minute in DateTime Mysql

To add Hour in datetime column use the following query: UPDATE users SET `timestamp` = DATE_ADD(timestamp, INTERVAL 1 SECOND); UPDATE users SET `timestamp` = DATE_SUB(timestamp, INTERVAL 1 SECOND); UPDATE users SET `timestamp` = DATE_SUB(timestamp, INTERVAL 1 SECOND); UPDATE users SET … Readmore +

Category: MySql