March 9, 2024 5:03 am

How to use Smarty template engine in PHP


How to use Smarty template engine in PHP
If you are developing a web application then you have to separate templates from your logic code and make your application simple. Using smarty you can design your web pages without the care of your application code. Smarty template engine work as a language you can add conditions, PHP Code, loops and many more.

[ Read More ]



March 8, 2024 5:04 am

How to Publish Status on LinkedIn in PHP


How to Publish Status on LinkedIn in PHP
We have received many requests from my readers to write tutorial on LinkedIn status update in PHP so this tutorial going to solve your problems and its very easy to publish status on your LinkedIn wall. No need to go to LinkedIn and update your status from your website create a file on your web site which do this all stuff without going to LinkedIn.

[ Read More ]



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 5, 2024 5:01 am

How to Sort List Items using jQuery with anchors


How to Sort List Items using jQuery with anchors
I have found an interesting jQuery code to sort list items on your web pages and writing this tutorial to apply this functionality in your web projects. In this code snippet we create a jQuery function which load all list items of a given id and match text letters and present you in a sorted form, lets see how it works and its demo with source code.

[ Read More ]



March 4, 2024 5:03 am

How to copy text to Clipboard using jQuery


How to copy text to Clipboard using jQuery
In this tutorial I am going to show you how to copy text in clipboard without ctrl+c and ctrl+v I have used jQuery Clipboard plugin (zclip) to perform this task. The JavaScript clipboard functionality is disabled by the most of the browser due to security risk so this plugin use a dynamic flash file.

[ 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 ]