Posts

Showing posts with the label web help

How To Secure Apache with Let's Encrypt on Ubuntu (Digital Ocean)

Image
  Introduction This tutorial will show you how to set up a TLS/SSL certificate from Let’s Encrypt on an Ubuntu 16.04 server running Apache as a web server. SSL certificates are used within web servers to encrypt the traffic between the server and client, providing extra security for users accessing your application. Let’s Encrypt provides an easy way to obtain and install trusted certificates for free. Prerequisites In order to complete this guide, you will need: An Ubuntu 16.04 server with a non-root sudo-enabled user, which you can set up by following our Initial Server Setup guide The Apache web server installed with one or more domain names properly configured through Virtual Hosts that specify ServerName . When you are ready to move on, log into your server using your sudo-enabled account. Step 1 — Install the Let’s Encrypt Client Let’s Encrypt certificates are fetched via client software running on your server. The official client is called Certbot, and i...

How can I refresh a form JQuery

Image
   Do you have this? < form id = "form" > ..... </ form > If you do, it should work.   $( "#form" )[ 0 ].reset();   If you don't have an "id" for your form tag, you should use    < form > ..... </ form > $( "form" )[ 0 ].reset();  

Indian Rupee Sign in HTML CODE

Image
  <!DOCTYPE html> <html> <style> body {   font-size: 20px; } </style> <body> <span style='font-size:100px;'>&#8377;</span> <p>I will display &#8377;</p> <p>I will display &#x20B9;</p> </body> </html>

Remove warning messages in PHP

 You really should fix whatever's causing the warning, but you can control visibility of errors with error_reporting() . To skip warning messages, you could use something like:   error_reporting(E_ERROR | E_PARSE);

How to upload a project to Github ?

Here is how you would do it in Windows: If you don't have git installed, see this article on how to set it up. Open up a Windows command prompt. Change into the directory where your source code is located in the command prompt. First, create a new repository in this directory git init . This will say "Initialized empty git repository in ....git" ( ... is the path). Now you need to tell git about your files by adding them to your repository. Do this with git add filename . If you want to add all your files, you can do git add . Now that you have added your files and made your changes, you need to commit your changes so git can track them. Type git commit -m "adding files" . -m lets you add the commit message in line. So far, the above steps is what you would do even if you were not using github. They are the normal steps to start a git repository. Remember that git is distributed (decentralized), means you don't need to have a "central serv...