YouTube is the most popular videos sharing platform where we watched videos online. However, we often need to get those YouTube videos for offline uses. If you’re a PHP developer then definitely you’re looking for a PHP script to download YouTube videos on your local server. So here in this post, we will explain how […]
PHP
Here you will find useful PHP tips and tutorials.
Create Simple Pagination with PHP, MySQL and jQuery
Pagination is an important part of any web project where huge numbers of records are listed from the database. In our previous tutorial, you have learned how to implement Create Advance Pagination with PHP and MySQL, in this tutorial we will show you a simple way to implement pagination with Bootstrap, PHP, MySQL and jQuery.
How to create PDF with PHP?
There are many web applications that require output such as invoices, contracts or it’s web pages in PDF format. PHP has PDFlib library to create PDF dynamically but it’s very vast and need a lot of time to study and understand. So there are another PHP class FPDF that allows you to generate PDF files […]
Secure your PHP script by hiding extensions
In general, security by obscurity is one of the weakest form of security. Suppose If I were exploiting a site, I wouldn’t check what scripting language the site runs on, because all that would matter to me is exploiting it. Hiding the fact that you use x language isn’t going to prevent me from bypassing […]
Using PHP regex to remove link but keep anchor text
Sometimes we need to remove anchors from html while displaying html content. You can easily remove links or anchors from a html content using PHP preg_replace() function with regular expressions.