Store and Retrieve Image from MySQL Database using PHP


Generally, when we upload an image file in PHP, the uploaded image is stored in a directory of the server and the respective image name is inserted into the database. But if you want to upload an image without storing on the server, it can be done using MySQL database. If you're concerned about the server space and need to free space on your server, insert the image file in the database without upload it to the directory.

Read Full →

Creating Dynamic Email Template in PHP


Mail sending feature is the most used functionality in the web application. When we sending email from our website, an email template is used to make email content attractive and user-friendly. Dynamic Email Template makes it easy to manage templates for different types of emails. The dynamic email template is most useful when you want to send email for multiple purposes with different templates.

Read Full →

Get Videos from YouTube Channel using Data API v3 and PHP


The YouTube Data API provides an easy way to access YouTube channel data and incorporate into your web application. The various resources can be retrieved from YouTube channel using Data API. If you want to implement YouTube videos gallery on your website, it could be done using YouTube Data API and PHP. Use YouTube Data API v3 to retrieve videos from YouTube channel and list them in the website using PHP.

Read Full →

How to Backup MySQL Database using PHP


The database backup is a most important task for every web developer. Regular database backup prevents risk to lose the data and it helps to restore the database if any issue occurred. So, backup the database whenever possible is a good idea. There many ways available to backup MySQL database in a file and you can backup tables from MySQL database using PHP.

Read Full →

Live Image Upload using jQuery, PHP and MySQL


Live image upload feature makes web application more user-friendly. With live upload, the user can select and upload images without page refresh. You can implement live image upload feature with jQuery without using Ajax or any plugin. The live image upload is very useful in user panel to update profile picture. This tutorial will show the live image upload and user profile picture update functionality.

Read Full →

Connect and Handle Files in FTP Server using PHP


Upload file to the server via FTP is an essential task for every web developers. There are many FTP clients are available for handling files on FTP server. But if you want to connect FTP server by the script, you can use PHP to handle files in FTP server. PHP provides various functions to work with FTP server. This tutorial shows you how to connect FTP server and handle files on FTP server using PHP.

Read Full →

Display Facebook Albums and Photos on the Website using PHP


Facebook Graph API makes it easy to embed Facebook albums to the website. You can easily create a photo gallery with Facebook photo albums using PHP and Graph API. Do you want to get all the photos from the Facebook page and show on your website? There's a way to upload a photo once on the Facebook page, and then let it available for both your Facebook page and website.

Read Full →

Send Email via SMTP Server in PHP using PHPMailer


Basically, mail() function in PHP is used to send email from the PHP script. When you sending email using the PHP mail() function, the mail is sent from your web server. Sometimes it may cause issues on sending an email and fails to deliver mail to the recipient. With SMTP you can overcome this issue, SMTP is the most recommended way to send email from the PHP script. When you send an email via SMTP, email is sent from the mail server rather than the web server.

Read Full →

How to Create Dynamic Image Gallery with jQuery, PHP & MySQL

An image gallery is a very common feature for the web application. Image gallery or photo gallery is an efficient way to showing the set of pictures. If you have a requirement to implement a photo gallery on the website, our source code will help you to do it easily within less time. This tutorial shows how you can create a dynamic image gallery in PHP with MySQL database and integrate image gallery popup using jQuery fancyBox plugin in this photo gallery.

Read Full →