. ├── routes | └── index.js ├── models | └── add_password.js ├── views ├── add-new-password.ejs | └── view-all-password.ejs Open models/add_password.js file and copy and paste the following code to create schema and mongoose connection: const mongoose = require(‘mongoose’); mongoose.connect(‘mongodb://localhost:27017/pms’, {useNewUrlParser: true, useCreateIndex:…
Expand +Tag: How To
How to Convert an Image to PDF in CodeIgniter using FPDF Library
Step 1: Download Fresh Codeigniter 3 Step 2: Download fpdf library Step 3: Create mypdf.php file in “application/libraries” Folder
Expand +How to Generate PDF with Watermark in PHP using Dompdf
Dynamic PDF age is valuable when you need to enable the client to download the content or HTML content in a file on the web application. For this situation, the HTML content should be changed over to the PDF record…
Expand +How to Integrate 2Checkout Payment Gateway in PHP
If you have ecommerce website and you want to accept payment via credit card or debit card from your website then 2Checkout Payment Gateway is the easy solution. In this article, i will show you an easy way to integrate…
Expand +How to Add or Embed Google Review on your website
Embed or display google customer review on your website is an easy way to create a market trust in front of your customer or visitor. Currently, every company have google business profile to promote your business in google and display…
Expand +How to Import and Export CSV File using PHP and MySql
Import and Export include is extremely helpful for the information the board segment. The Import usefulness enables the client to transfer and embed numerous information in the database. Utilizing the Import include, the mass information can be embedded in the…
Expand +How to Create ZIP File using PHP
The ZIP is a normally used file format to archive files with information compression. When you need to enable the client to download numerous folders and files from the server, you have to make a ZIP file on the fly.…
Expand +How to send attachment in an email on form submission using PHP
Contact or feedback form is utilized for online communication and the submitted form data is sent vie email instantly. At the point when the contact form has a document upload field, the document should be sent with email as a…
Expand +How to Create One Time Temporary Download Link with Expiration in PHP
Temporary download link is extremely helpful to offer Digital products on the site. It gives a safe method to share the download link of the advanced items. The client permits downloading the record just a single time, after the download…
Expand +How to export HTML file to MS Word document (.doc) using php code
Generally, the export feature is used to download HTML file as MS Word document file and save it for offline use. The conversion of HTML file into word document using PHP code is the most requested feature for developers. Microsoft Word or…
Expand +