Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

CodeIgniter

CodeIgniter / PHP

Codeigniter: no-referrer-when-downgrade

February 22, 2018 Chandan SharmaComment on Codeigniter: 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 More
Code Editors / CodeIgniter / PHP

Codeigniter echoing [::1] instead of localhost

February 22, 2018 Chandan SharmaComment on Codeigniter 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 More
CodeIgniter / Database / PHP

Undefined property $db in Codeigniter

February 22, 2018 Chandan SharmaComment on Undefined 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 More
CodeIgniter / HMVC / PHP

What is Codeigniter?

February 18, 2018 Chandan SharmaComment on What 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 More
CodeIgniter / JavaScript / JQuery / PHP

Copy Container Text in JavaScript

February 17, 2018 Chandan SharmaComment on Copy 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 More
CodeIgniter / JavaScript / JQuery / PHP

On Click Copy the text in javascript

February 17, 2018 Chandan SharmaComment on On 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
Code Editors / CodeIgniter / HTML / JavaScript / JQuery / PHP / TinyMCE

TinyMCE URL Conversion Example

February 17, 2018 Chandan SharmaComment on TinyMCE URL Conversion Example

relative_urls : false, remove_script_host : false, convert_urls : true, LIKE:: <script> tinymce.init({        selector: ‘.rte’,        height: 500,       …

Read More
Code Editors / CodeIgniter / PHP / TinyMCE

Get TinyMCE to use full image url instead of relative one

February 17, 2018 Chandan SharmaComment on Get TinyMCE to use full image url instead of relative one

#Get TinyMCE to use full image url instead of relative one Make sure in the javascript initialization you are using, that you have these lines …

Read More
CodeIgniter / PHP

Check whether server is http or https

February 17, 2018 Chandan SharmaComment on Check whether server is http or https

# Check whether server is http or https if (!empty($_SERVER[‘HTTPS’]) && (‘on’ == $_SERVER[‘HTTPS’])) { $uri = ‘https://’; } else { $uri = ‘http://’; } …

Read More
CodeIgniter / PHP

Check when edit if the field is not duplicate Entry

February 17, 2018 Chandan SharmaComment on Check when edit if the field is not duplicate Entry

if($this->input->post(‘user_name’) != $original_value) { $is_unique = ‘|is_unique[users.user_name]’ } else { $is_unique = ” } $this->form_validation->set_rules(‘user_name’, ‘User Name’, ‘required|trim|xss_clean’.$is_unique);

Read More

Posts navigation

Previous 1 2 3 … 23 Next

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2026 Logic Bytes.
Powered by WordPress and PridMag.