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
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 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 MoreTinyMCE URL Conversion Example
relative_urls : false, remove_script_host : false, convert_urls : true, LIKE:: <script> tinymce.init({ selector: ‘.rte’, height: 500, …
Read MoreGet 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 MoreCheck 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 MoreCheck 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