Creating SEO-Friendly page URL from your Page Title / heading will very helpful to generate a highly optimized keyword rich URLs for your website, Here is the function to get the SEO-Friendly Page URL from given string.…
Sometimes you need to store the data in database in encrypted format. No worries, use these below very simple function to encode and decode string in php. Below are the functions for doing same and is very easy to use, you can customize these as per your requirement to make it very strong encoded.…
get_magic_quotes_gpc() There is a PHP feature or function called as magic quotes that was created to help protect newbie programmers from writing bad form processing code. Magic quotes will automatically escape risky form data that might be used for SQL Injection with a backslash \. The characters escaped by PHP magic quotes includes :…
Convert HTML to PDF using PHP code (HTML2FPDF Class library) In web development, you often need to create PDF (Portable Document Format) to view or download/ print a document. Here is a simple class that will provide you a simple way to do create PDF.HTML2FPDF Class library consist of three classes namely PDF, HTML2FPDF…
How to figure out whether PHP extension is loaded or not on your page? Usually in phpinfo() doesn’t show you all the loaded extensions in one location, it has got a separate section for each loaded extension where it shows all of its variables, file paths, etc so if there is no section for…
PHP: Backup Your Website’s MySQL Database It is always good to backup your MySQL database regularly. You should also create a backup before making any major changes, in case something goes wrong and you need to revert to the unmodified version, then you will found yourself in safe hand. Database backups can also be…