Posts

Showing posts from July, 2020

Set up lampp on linux - ubantu

Step1 : Update && upgrade package sudo apt-get update && upgrade Step 2: install apache2  sudo apt install apache2 Step3: Adjust the firewall to allow web traffic sudo ufw app list If you look at the  Apache Full  profile, it should show that it enables traffic to ports  80  and  443 : sudo ufw app info "Apache Full" Step4: Set up your location suppose path is /home/gulshan/Projects && url will be http://projects then for this set up *Disable the old config* sudo a2dissite 000-default.conf *Create new config with name projects.conf* *Add this to them* <VirtualHost *:80>     ServerAdmin webmaster@projects     ServerName projects     ServerAlias projects     DocumentRoot /home/gulshan/Projects     <Directory /home/gulshan/Projects>          Options Indexes FollowSymLinks          AllowOverride all         ...

Jquery from validation with option AJAX method request and response with simple step

This is simple Jquery form validation  Support image also in ajax Get File   https://github.com/gulshanAI/jquery_form_validation 1. create your form index.html <!doctype html> <html lang="en">   <head>     <meta charset="utf-8">     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">     <title>Jquery Form Validation</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">     <!-- Provide your form css -->     <style> .err{ text-align: center; color: red; font-weight: 700; }     </style>   </head>   <body class="bg-light">     <div class="container">   <div class="py-5 text-center...