Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Help needed for CI v3
Post: RE: Help needed for CI v3

Hello I can help maintain Code Igniter 3. Let me know more about this. :)
51,837 Views
26 Replies
02-06-2021, 02:51 PM
desbest
    Thread: Routes are conflicting with each other. Is it possible to set priority?
Post: Routes are conflicting with each other. Is it poss...

Code: -- $route['(:any)/(:any)/(:any)/(:any)'] = 'main/user/$1/$2/$3/$4'; $route['fetch/(:any)/(:num)/(:any)'] = 'fetch/$1/$2/$3'; $route['fetch/(:any)/(:any)/(:num)'] = 'fetch/$1/$2/$3'; -- Ab...
1,954 Views
1 Replies
01-18-2020, 02:35 PM
desbest
    Thread: Problems creating an SQL query
Post: Problems creating an SQL query

Hello I'm having problems with an SQL query I'm trying to do with CodeIgniter Code: -- $comments = $this->db     ->select(array('posts.content', 'posts.id', 'posts.userid', 'posts.postid', 'posts.n...
3,033 Views
2 Replies
01-04-2019, 10:28 AM
desbest
    Thread: How do I include the OOP “defiant randomdotorg” library in codeigniter?
Post: RE: How do I include the OOP “defiant randomdotorg...

I'm not using Composer because I need shell access to install Composer and my web host doesn't provide shell access. I got the answer on Stack Overflow here https://stackoverflow.com/a/49461228/33730...
4,495 Views
4 Replies
03-25-2018, 04:52 AM
desbest
    Thread: How do I include the OOP “defiant randomdotorg” library in codeigniter?
Post: How do I include the OOP “defiant randomdotorg” li...

The class is here (with instructions). (https://github.com/defiant/randomorg/tree/master) I have it added to  Code: -- application/libraries/randomorg -- When I add  Code: -- $this->load->libra...
4,495 Views
4 Replies
03-23-2018, 09:14 PM
desbest
    Thread: Why is my ENVIRONMENT constant, "development" if my codeigniter app is online?
Post: RE: Why is my ENVIRONMENT constant, "developm...

I just changed the line on index.php to read PHP Code: -- define('ENVIRONMENT', isset($_SERVER['ENVIRONMENT']) ? $_SERVER['ENVIRONMENT'] : 'development'); --
4,328 Views
3 Replies
01-16-2018, 01:46 PM
desbest
    Thread: Why is my ENVIRONMENT constant, "development" if my codeigniter app is online?
Post: Why is my ENVIRONMENT constant, "development" if m...

Why is my ENVIRONMENT constant, "development" if my codeigniter app is online, not on localhost? What is going on? How do I fix it?
4,328 Views
3 Replies
01-16-2018, 01:18 PM
desbest
    Thread: Is it possible to use the email library outside of codeigniter?
Post: RE: Is it possible to use the email library outsid...

Yes I know there's some good packages and classes for SMTP mail, but I'm curious if I can use the Codeigniter email library outside of Codeigniter because I find it easy to use. If so, how do I do ...
4,296 Views
3 Replies
01-16-2018, 04:28 AM
desbest
    Thread: Is it possible to use the email library outside of codeigniter?
Post: Is it possible to use the email library outside of...

Is it possible to use the email library outside of codeigniter?
4,296 Views
3 Replies
01-13-2018, 01:22 PM
desbest
    Thread: Problem with database query
Post: RE: Problem with database query

Thank you all for your help! Everything works now.
4,623 Views
5 Replies
09-22-2017, 06:39 AM
desbest
    Thread: Problem with database query
Post: RE: Problem with database query

Hello I now have a new problem. Here is my code. PHP Code: -- $acceptal = $this->db->select(array('posts.content', 'posts.id', 'posts.userid', 'votes.userid', 'votes.content')) ->join('users', 'pos...
4,623 Views
5 Replies
09-22-2017, 04:13 AM
desbest
    Thread: Problem with database query
Post: Problem with database query

I have a problem with my database query and would like help getting it to work please. PHP Code: -- $acceptal = $this->db->select(array('posts.content', 'posts.id', 'posts.userid', 'votes.userid...
4,623 Views
5 Replies
09-21-2017, 10:57 AM
desbest
    Thread: Is there a way to route an entire controller?
Post: RE: Is there a way to route an entire controller?

jonathanq Wrote: (08-10-2017, 08:47 AM) -- desbest Wrote: (08-08-2017, 12:34 AM) -- I am going to request this feature in the next version of Codeigniter. -- What do you think about Routes in a Co...
6,796 Views
7 Replies
08-11-2017, 06:05 AM
desbest
    Thread: Compesh - Question and answer website
Post: Compesh - Question and answer website

I've made a question and answer website with Codeigniter called Compesh. The website is responsive. I'll let the website speak for itself. Launch Compesh (http://compesh.com)
5,140 Views
1 Replies
08-08-2017, 03:51 AM
desbest
    Thread: Routing an entire controller
Post: Routing an entire controller

I would like a new feature to be added so I can route an ENTIRE controller all at once, so I can route a controller to be / (root directory)? Let's say my controller looks like this. Code: --
3,675 Views
2 Replies
08-08-2017, 12:34 AM
desbest
    Thread: Is there a way to route an entire controller?
Post: RE: Is there a way to route an entire controller?

I am going to request this feature in the next version of Codeigniter.
6,796 Views
7 Replies
08-08-2017, 12:34 AM
desbest
    Thread: Is there a way to route an entire controller?
Post: RE: Is there a way to route an entire controller?

skunkbad Wrote: (08-01-2017, 10:46 AM) -- Rewrite in .htaccess: RewriteRule ^debate$ /main/debate [L] Or just use CI routing. -- Yes but I want to route the entire controller, not each method...
6,796 Views
7 Replies
08-07-2017, 01:29 PM
desbest
    Thread: How do I have a global array in __construct() ?
Post: RE: How do I have a global array in __construct() ...

Martin7483 Wrote: (08-03-2017, 06:15 AM) -- Your code is very messy. Look into using models. You shouldn't write queries in the constructor of a Controller -- rtenny Wrote: (08-04-2017, 08:51 AM) ...
15,637 Views
5 Replies
08-07-2017, 01:05 PM
desbest
    Thread: How do I have a global array in __construct() ?
Post: How do I have a global array in __construct() ?

I have this code. Code: --
15,637 Views
5 Replies
08-03-2017, 05:55 AM
desbest
    Thread: Is there a way to route an entire controller?
Post: Is there a way to route an entire controller?

Is there a way to route an entire controller, so I can route a controller to be / (root directory)? Let's say my controller looks like this. Code: --
6,796 Views
7 Replies
08-01-2017, 10:17 AM
desbest

Theme © iAndrew 2016 - Forum software by © MyBB