Category Archives: PHP


March 7, 2024 5:02 am

How to send email with attachment in PHP


How to send email with attachment in PHP
I have received requests from my readers to write an article on send email with attachment, so in this tutorial I am going to show you how to send email with attachment in PHP. We have already write a tutorial on send email with SMTP and PHP Mailer. In this tutorial we didn't go to re-invent the complete code simply add attachment and proceed.

[ Read More ]


March 6, 2024 5:01 am

How to Check Expired Sessions using PHP & jQuery


How to Check Expired Sessions using PHP & jQuery
This article can help you to check if a user's session is expired or not if session expired show him popup or an alert window that your session is expired please login again. We need this feature for security reasons and its very useful and important for web developers who working on session based applications. We are using jQuery and PHP in this tutorial.

[ Read More ]


March 3, 2024 5:01 am

Make PDF to JPEG Converter in PHP


Make PDF to JPEG Converter in PHP
We have published an article on How to Convert HTML to PDF in PHP with fpdf and received many emails to write something on conversion from PDF to JPEG so today I am going to show you how we can convert PDF to JPEG and its a 4 lines script and very easy and simple to understand. We use PHP imagick extension which is mostly built-in in PHP installation so no need to include any thing.

[ Read More ]


March 1, 2024 5:02 am

How to post into a Facebook Page with PHP using Graph API


How to post into a Facebook Page with PHP using Graph API
We have published one article on How to publish status on Facebook with Graph API which post status on user's wall when user write , now I am going to show how to post status on pages to post status on Facebook page we use Facebook Graph API in PHP to perform this task.

[ Read More ]


February 29, 2024 5:02 am

How to Rewrite urls with .htaccess


How to Rewrite urls with .htaccess
I have received many requests from my readers to write some thing on .htaccess so today I am going to explain you how to rewrite URLs with .htaccess. Hypertext  access is shortly called as htaccess, it rewrite URLs for directory in which file placed it manage that directory only, we can make SEO friendly URLs and boost your search engine ranking.

[ Read More ]


February 28, 2024 5:05 am

Dynamic image slider using Twitter Bootstrap & PHP with MySQL


Dynamic image slider using Twitter Bootstrap & PHP with MySQL
I have received many requests from my readers to create image slider with admin where they can edit images and update text, so in this tutorial I am going to show you how to create image slider to get images, title and description from database and slide images. Using twitter bootstrap I have created a very simple and easy to understand slider and PHP & MySQL for dynamic option.

[ Read More ]


February 24, 2024 5:01 am

How to use PDO database connection in PHP


How to use PDO database connection in PHP
As we all know that in PHP 5.5 MySQL is deprecated and we have to move new extensions like MyQLi or PDO (PHP Data Objects) for database integration, we have already publish an article on How to use MySQLi_connect PHP and this article will explain you how to connect with MySQL database using PDO connection and we explain very few things in this tutorial like database connection, insert, delete, update and select queries with prepare statement, multiple insert and error handling.

[ Read More ]