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

language subdomains

I've been helping to rebuild a largish site in CodeIgniter 3 for some time now. Our plan all along has been to specify the language to be displayed as a subdomain. E.g., spanish will be es.example.com...

View Article


Validation callback

Hi, I have problem. I get only callback validation. Why? PHP Code: $this->form_validation->set_rules(            'user_passcurr',            'current password',...

View Article


Login System Not Working

Hello so I've been trying to create a login and register system on my CodeIgniter Application. So far it works great, I can create and fetch them(if not logged in) wherever I want them to be displayed,...

View Article

Image may be NSFW.
Clik here to view.

codeigniter 3.1.6 decrypt fails sometimes to get the correct value

I am using codeigniter 3.1.6. I am using encryption class and I loaded it through config/autoload. PHP Code: $autoload['libraries'] = array('database', 'session',...

View Article

Possible to specify ID and Class to a tbale generated from the table class?

For CSS I would like to apply an ID and a class to a table generated using the CI table class - how would I  do this please?

View Article


Wich library for Auth

Hello every body, I'm looking to start a new project on CI4. Usually, I use Ion-Auth in my CI3 developments. Is there any CI 4 auth library ready ? Thanks

View Article

Url helper

Hi, I use Codeigniter Version 3.1.6 Here is my bootstrap navbar: Code: <nav class="navbar navbar-expand-lg navbar-light bg-light">   <a class="navbar-brand" href="#">ciBlog</a>...

View Article

Prohibit access to get_instance() from a view

Hi there, I’m having a small issue with Codeigniter. I would like to prohibit access to CI and the get_instance() from a view. In other words, it should not be possible to access get_instance from a...

View Article


Image may be NSFW.
Clik here to view.

What kind of job do you have? [Students]

I'm 18 years old and work at Mcdonald's 20 hours a week and have an internship as a PHP Developer for 32 hours a week. How about you guys?

View Article


google map issue

Hi ,I have attached library google map v3 API and now i need to fetch Latitude and longitude from database which I have calculated and which should display by serial  Every time dynamically.I used...

View Article

Routes and hashed URLs

I started a projected and noticed that it was getting rather large, so I decided I needed to go to a framework like CI.  So I just set up a new site and I'm setting up the basic functionality but one...

View Article

Use namespaces in Codeigniter 3.1.6

Hi, I want to use my own classes but it throws me an type error. Type: TypeError Message: Argument 1 passed to Posts::__construct() must be an instance of PostsRepository, none given, called in...

View Article

Problem with session files

Hello everybody, we develop with CI from many years but we have a weird thing that happen with our last project. We use CI 3.1.3 on virtualized server with VMware. The "sess_driver" parameter is set to...

View Article


Hello

Hi everyone, I just wanted to say THANK YOU to all contributors on the Choosing CodeIgniter Forum. I am a newbie, I want to learn more about CodeIgniter. Mong any supporters. thank you

View Article

A new row with a link at the left side of the table

PHP Code: MODEL: $database = $this->verversBelbestand();        if($database == null){            $database = $database;        } else {       //Defineer hier de database        $config['hostname']...

View Article


Calling multiple header/footer template and setting in route

Hello everyone I am new to codeigniter and want to use it for a fairly large project. I intend to use two different bootstrap template. The first one is working but I don't understand why the second...

View Article

Error 404 with unicode character in the URL like Japanese

Hi, I want to allow Unicode character in the URL like Japanese. I added in my route.php Quote:$route['category/(:any)'] = 'Category/view/$1'; When I tried access "category/大人っぽすぎる小学生が中学3年生にもなると.html",...

View Article


testing with phpunit in phpstorm

hey, currently im trying to get phpunit run all tests ( include own application tests ) in phpstorm. 1. install all dependency via composer   ( got an error on extractTo phpunit/php-code-coverage : no...

View Article

This page isn’t working using while loop.

hi all, I have a strange problem in my application. unable to loop through an array.  here my code: Controller: Code:   public function rep_fee_invoice_4class()    {                $data = array(...

View Article

Exclude url from csrf

Hello I use auto CSRF in my project I need use it only web panel But when i use api in my app and post data,csrf show error "not allowed" Can i limit csrf for special controller example for controller/*?

View Article
Browsing all 14114 articles
Browse latest View live


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