Nowadays every websites is dynamic in nature. Websites has the capability to To retrieve data from database in PHP Using MYSQL from a remote server. It fetches the required data when needed from the server and serves the data to the user. Websites commonly use PHP to interact with the […]
Regular Expressions – I
A regular expression (shortened as regex) is an extremely useful way of matching common patterns and texts such as emails, phone numbers, URLs etc. almost all programming languages have a regular expressions library. It is widely used in text editors also to find patterns and replace string patterns that we specify in the […]
[WordPress] Display HTML Tags inside Pre
Display HTML Code in WordPress Post In WordPress posts if we write any HTML codes in Text editor, the code will not be displayed. Instead of code, WordPress, sends the HTML code as it is. The web browser compiles the code to display its output. Hence the code will not […]
[JavaScript] Code To Validate Email Address – in HTML Form
HTML Form – Email Validation with JavaScript Email validation is very important in HTML forms. Here we have discussed how to validate email addresses using JavaScript. Parts of an email address An email address is a unique identifier of an email account bound to a domain server. An email address […]
PHP Check If File Exists in a Folder path – in 2 Easy ways
Get code from PHP check if file exists in a folder. This code can be used in wordpress or any php site to find if file is present in a server folder.
How to Schedule a PHP script in CRON from CPANEL?
Learn to schedule PHP script in a Cpanel CRON, Make it run at specific time interval. Once PHP completes execution in CRON, check the results in Email Inbox
How to Backup Website data Automatically to Dropbox?
Automatically backup website data to Dropbox using PHP code. Website data should be backuped up frequently to prevent years work being lost due to hacker attacks, data corruption due to hardware issues. Use this code that explains basics about how a file can be uploaded to Dropbox using PHP.
Change WordPress Excerpt Length and Default Read More
Use this techniques to change the default WordPress excerpt length of 55 and increase it to your need. Also change the setting for Read more as explained.