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

Removing index.php from the URL's

Hello  I'm following the user guide included with Code Igniter and i'm trying to remove the index.php from the URLs just how it's pointed in the guide. I do this in the .htaccess file: RewriteEngine On...

View Article


Green Geeks hosting

Hello!  I am new with Codeigniter and I want release my first project in production. I am looking for a shared hosting service for my application. I like eco friendly things, so I thought in Green...

View Article


EMAIL CLASS Cannot send email

Hi, I am stumped. I am trying to send an email with the email class with no success. I have tried both SMTP and SENDMAIL and I know I am doing SOMETHING wrong but I don't know what. My code is this:...

View Article

[Solved] Hooks not working with HMVC

I have a controller called Login.php and is class is Login And a function called check() I would like the hook to check that function first how ever even with testing code it not working on HMVC Not...

View Article

CI's relationship with xdebug

Note: This might be completely unrelated to CI, but I've only noticed it while developing CI apps ant not normal php apps. Hi, So I got php-debug (a step-through debugger) working on Visual Studio Code...

View Article


dynamic route

hi, how can i add new routes dynamically? directly in the controller, like this: PHP Code: class Users extends CI_Controller {    public function __remap()    {        $route['username'] =...

View Article

Setting default language in config

Hello! I'm using the latest CI version. Currently, I'm trying to set up multi language support for my website. In application/config/config.php the default $config['language'] is set to 'english'. It's...

View Article

show_404() doesn't use my custom 404 page

Hello all, On my CodeIgniter site, I set up a custom 404 page using the following code. config/routes.php PHP Code: $route['404_override'] = 'error_pages/error_404_custom';  controllers/Error_pages.php...

View Article


zip code radius search

Hello, wondering if anyone has a CI3 example, library or suggestion for a zip code radius search. There seems to be plenty of general examples on the WWW, but thought I'd ask if anyone has any good...

View Article


Codeigniter's active record ignoring everything after “/”

issue User inputs data like a/b code we use to save the data PHP Code: <?php    $text = $this->input->post('user_input');    $data = array('text'=>$text);...

View Article

CodeIgniter - Lietuva

Sveiki CI naudojantys tautiečiai. Kviečiu prisijungti prie naujai atidaryto projekto CI Lietuva. Adreso nenori reklamuoti čia, tad jį rasite mano profilyje. Ieškau žmonių norinčių savanoriškai...

View Article

Link to view inside subfolder does not display correctly

I need to show a view that is inside a subfolder. Here is my views structure: Code: practice/    application/        views/            pages/                item-1.php                    item-2.php...

View Article

Make codeigniter component based

I need to make a component based script what are the best solutions to do that with codeigniter? I tried searching about HMVC and it seems good but I want to know any other ways if anyone know. I mean...

View Article


Using URI Language Identifier

Hello! Currently I'm trying to add multi language support for my website. I stumbled upon this URI Language Identifier, which seems to work great and adds the needed language abbreviations to the URI,...

View Article

pagination config file ignored after upgrade

Everything was working fine in version 3.0.0 However, after upgrading to version 3.1.0, my pagination config file is totally ignored. I have this in my Controller: Code: $config['total_rows']    =...

View Article


Image may be NSFW.
Clik here to view.

Pagination suffix & reuse_query_string problem

Hi everyone. I'm having trouble with CI pagination class. My URL looks like: http://domain.com/chapter/2?var=value#anchor, where 2 is a number of a page added by pagination class. I want my pagination...

View Article

Chaning the module locations HMVC

Hi, I would like to know if any one has found away to make the application folder the module locations for HMVC So instead of creating a folder called modules it will use the application as module dir?...

View Article


[split] CI3 Code Completion for library with PhpStorm

Has anyone gotten code completion to work from within a library with phpStorm? I have an autocomplete.php file in my config dir and all autocompletes work correctly except for inside a library file....

View Article

Hola a todos

Hola a todos ,  Daniel Argentina mar del plata

View Article

Alternative for CI cart library?

Since CI cart library is going to be removed in future version.  What would be a good up-to-date alternative that offer the basics like CI cart does. Not full blown ecommerece backend framework.

View Article
Browsing all 14115 articles
Browse latest View live


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