Page 41 of 56

How to add HTML in Perl

Last updated on December 28th, 2022 at 09:25 amIn this tutorial we will see how to insert HTML within a perl script. This example below is just showcasing how a variable defined in perl can be called within an HTML page itself. We are just simple adding a variable named my $perl_var = “Load Me […]

How to use pear in PHP to connect to MySQL

Last updated on November 11th, 2024 at 02:31 pmPEAR stands for PHP Extension and Application Repository. This PHP script uses the PEAR DB library to connect to a MySQL database, execute a query, and retrieve results. Create a Database of your choice and run these sql queries in the database. Now our PHP file for […]

How to find size of a directory using php

Last updated on May 7th, 2025 at 07:54 amIn this tutorial we are going to find the size of each files within a folder and then display the total size of folder or directory. We are using 4 inbuilt functions for this Very first step is to provide the path of the directory you would […]

How to Implement JavaScript Profanity (bad words) Filter for Web Forms

Last updated on May 7th, 2025 at 07:49 amIncorporating a profanity (bad words) filter into your web forms is essential for maintaining a respectful and user-friendly environment. Ensuring that user-generated content on your website remains appropriate is crucial. One effective method is to implement a client-side filter that detects and prevents the submission of messages […]

« Older posts Newer posts »