How to protect and hide PHP source code? In the time of open-source there are multiple benefits of making your code available to all. However …
Read MorePHP
Download File in php
Download File in php function. Force Download. Here, $filepath = File Full path, where the file exists. $filename = File name of the file , which …
Read Moreon every third block ul tag will close and new tag open in php
<!DOCTYPE html> <html lang=”en”> <head> <title>Bootstrap Example</title> <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css”> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> <script …
Read MoreChange Server url dynamically for xampp or LIVE server in php
Here, whitelist array contains all the ip address that we uses for xampp or Local server. All all local ip address in the whitelist array …
Read MoreCodeigniter: no-referrer-when-downgrade
Request URL: http://localhost/panel/front/login/ajax/ Request Method: POST Status Code: 500 Internal Server Error Remote Address: [::1]:80 Referrer Policy: no-referrer-when-downgrade If anybody faced this type problem …
Read MoreCodeigniter echoing [::1] instead of localhost
Codeigniter echoing [::1] instead of localhost I am using CodeIgniter 3.16 as a web platform and when redirecting with uri. I’m doing so by using …
Read MoreUndefined property $db in Codeigniter
Severity: Notice Message: Undefined property: CI::$db in codeigniter 3.16 Are you facing any notice saying Undefined property: Home::$db or something like this in your Codeigniter …
Read MoreWhat is Codeigniter?
Sometimes we have simple question in mind.. Some time we heard someone asked this question.. etc. It is very simple , most of us works …
Read MoreCopy Container Text in JavaScript
Copy Container Text in JavaScript <script type=”text/javascript”> function myFunction() { /* Get the text field */ var copyText = document.getElementById(“myInput”); /* Select …
Read MoreOn Click Copy the text in javascript
On Click Copy the text in javascript $(“.copy-mediaUrl”).on(‘click’ , function(){ var b = $(this); var media_id = ‘mediaurl-‘+ b.data(‘id’); …
Read More