Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14114 articles
Browse latest View live

Form validation for field create with jquery

Hi at all sorry for english, i am doing an invoice . i have one row with input text  article name= 'article[1]' and input text quantity name= 'quantity[1]' . With jquery i create a new row clicking a...

View Article


Don't log 404 errors in error log

On our live site we get a lot of 404 errors from our site been probed by bots looking for phpMyAdmin/wordpress etc. This is filling up our log files with loads of  "404 Page Not Found:...

View Article


IP to country using whois protocol

I'm playing around with some code for no particular reason. Given an IP address (IP4 or IP6), it is mostly successful at determining the country. It's not super fast like using IP2Country, but it's not...

View Article

Image may be NSFW.
Clik here to view.

Language default + languages add

Hello everyone I want to install several languages, my question is Example, i have Russian, German, English i have // in my English language $ lang ['hello'] = "hello"; // in my German language $ lang...

View Article

How to include footer and header in error/html/error_404.php

I can print the base url at  error/html/error_404.php  by adding following code:- <?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <?php $ci = new CI_Controller(); $ci...

View Article


Adding comments to fields in migrations

Hi, Could we add to the CI codebase for both v.3 and v.4 the ability to add field comments in migrations.  I use the following.  I came across this functionality while googling and have been using it...

View Article

Community_Auth login or setup problem

I would like to think I have a botched installation of Community_Auth, except some things are working. For my limited skills this is quite a program to troubleshoot. The author has obviously done a ton...

View Article

Deprecation Error with Wiredesign's HMVC extension on PHP 7.2

Just until yesterday and until i had upgraded to php 7.2 i got this error saying thIs PHP Code: <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"><h4>A PHP Error...

View Article


Image may be NSFW.
Clik here to view.

checkbox column

How do I make an extra column with checkboxes in a generated table? Code: $template = array(         'table_open'            => '<table border="1" cellpadding="4" cellspacing="0">',...

View Article


user_agent Chrome as Opera ?

Hi, I got this with : Code: ... 'user_agent : '.$this->input->user_agent(), 'platform : '.$this->agent->platform(), 'browser : '.$this->agent->browser(), 'version :...

View Article

need raintpl and idiorm in CI 3.x.x

hi every body , i'm new in CI  is there any way to use Raintpl 3 as template engine and Idiorm as ORM in CI? i find just suggestion in forum , can some one explain with code and Tuts? thanks

View Article

Best way to store user activities

Hello! I'm creating a website where users can put like to a post, where they can write a post, where they can put dislike to a post and so on. I'm writing also the "timeline" algorithm. I must write an...

View Article

User Guide - ePUB edition - suggestions

I may be in a distinct minority but I like and use the ePUB version of the User Guide. I use calibre to move it onto my Kobo reader and will occasionally browse through it to learn things I've missed...

View Article


Image may be NSFW.
Clik here to view.

PHP EXCEL CODIGNITER

hello, programmers. Would you help me in this problem? I am using PHPExcel to generate excel files. Now my query looks like this. MODEL: Code: class ReportModel extends CI_Model {  public function...

View Article

CI4 mail

would there be a continuity on CI4 mailer??

View Article


noindex?

Any special thoughts on why not let search engines index the site? Or just a simple misstake?

View Article

Suggestion regarding codeigniter 4

Dear CI devs congratulations for CI4 from the bottom of my heart. As the php 7.1 have huge performance comparatively to php 5.x there is a new project for asynchronous php on github which is equivalent...

View Article


Image may be NSFW.
Clik here to view.

problems with multiple connections to databases and sessions

Hi, I need to work with two simultaneous connections, mysql and oracle. But when registering my session with CI session by database it does not let me process the queries of oracle, I think it tries to...

View Article

CI Tutorial Static Page -not recognizing controller- help

Hi all,  background info ---- CI version : CI 3.1.6 Host : Raspberrypi3 running debian jessie/Apache2.4/MySQL  I stumbled across what will appear as a humble mistake, but god for the life of me I just...

View Article

How to check if user is banned.

So I'm not the type of guy who likes to type buch of line of non-sense. I will go straight to the reason for which I'm writing this post. I'm working on a function in which the user logs in and can...

View Article
Browsing all 14114 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>