codeigniter Questions
5
Solved
Does CodeIgniter support Namespace?
Hoyt asked 13/9, 2010 at 13:4
4
Solved
I am creating a search page in my CodeIgniter project.
On submit, the form calls the controller function, data is fetched via model function and the resulting array is passed to the view
The prob...
Tonsorial asked 20/12, 2013 at 7:41
7
Solved
I am using CI's sessions in connection with a database. So all of our sessions are in this ci_sessions table on our database and it can get a lot of rows, considering that the session_id keep chang...
Match asked 12/3, 2013 at 12:9
4
Solved
I just wondered if there is a very easy way to determine whether the request is a $_POST or a $_GET request.
So does Codeigniter have something like this?
$this->container->isGet();
Vannie asked 31/10, 2014 at 20:29
7
Solved
I want to know a clean way of defining Application Constants in Codeigniter. I don't want to change any native file of codeigniter. Hence I don't want to define it in application/config/constants.p...
Ashil asked 8/5, 2012 at 7:17
4
Solved
I am currently using mpdf to generate my pdfs from html. So far with my current html that I am passing in, I am able to generate a one page pdf with a header and footer. However, if there is more t...
Dimorph asked 5/3, 2018 at 1:50
14
Hello I am new to CodeIgniter and PHP, I am trying to setup it for the firs time, but it give the following error.
Fatal error: Call to undefined function base_url() in
C:\wamp\www\Test-CI\applic...
Rozina asked 20/7, 2012 at 14:45
4
The CI Email send() function only returns true or false. Is there a way to get a more detailed reason as to why a sending failed? I'm using SMTP.
Album asked 19/6, 2011 at 16:16
5
Solved
Using this HMVC plugin in Codeigniter. (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src/codeigniter-3.x/)
Running fine in another server, but in this server I am getting ...
Pali asked 31/5, 2019 at 12:39
3
I want to connect firebase database with my codeigniter project in php.
I not able to find the exact solution and library..
Please recommend the correct library with correct steps that I should f...
Wraith asked 25/8, 2016 at 4:33
6
Solved
I've been developing a new web application which relies on Amazon S3 servers as storage system, and Codeiginter as the PHP framework.
I need to force the file to download when the link is clicked...
Snapshot asked 14/5, 2011 at 17:20
8
Solved
I can't figure out why if I try to use the CI Email Class it doesn't send emails, while if I use the native PHP mail() Class works.
Has to be noted that sometimes I get "email sent" while is not a...
Baulk asked 31/7, 2013 at 23:24
9
Solved
Now i've tried most of the fixes that i've read, most of them mention about APPPATH, base_url(), real path and etc. but i really don't know why all of them didn't work, what worked for me is that i...
Gibbosity asked 24/2, 2013 at 9:21
13
Error in mail content using SMTP in codeigniter
Actually, my mail is sent with HTML tags and it is showing the HTML tags which is not correct.
$config = Array(
'protocol' => 'smtp',
'smtp_hos...
Herbart asked 1/2, 2012 at 12:8
8
I am using PostgreSQL for my Codeigniter website. I am using grocery crud for add, edit and delete operations. While doing an edit or add, I want to rename an uploaded file dynamically based on the...
Igor asked 15/11, 2012 at 8:11
35
My current urls look like this [mysite]index.php/[rest of the slug].
I want to strip index.php from these urls.
mod_rewrite is enabled on my apache2 server. In config, $config['index_page'] = '';...
Surety asked 4/10, 2013 at 14:4
4
Solved
I'm using codeigniter with datatables and i want to order a select by a column.
How can i do that ?
$this->datatables->select('col_1, col_2, col_3');
$this->datatables->from('table');...
Elli asked 6/8, 2014 at 9:10
4
I want to ask. First of all, I will tell that I've develop an application use codeIgniter on my windows dekstop. And it clear and run completely.
But, after I move that project to debian server, i...
Ovation asked 11/10, 2015 at 6:14
5
Solved
I have a project with CodeIgniter 4.
I have a before filter:
public function before(RequestInterface $request){
$auth = $request->getHeader("Authorization");
if($auth == null){
$r...
Ludewig asked 11/8, 2020 at 13:31
7
Solved
I'm trying to make a mail system in Codeigniter with the PyroCms.
In my mail table, I have a "recipent" row and a "sender" row which contains the user id of the sender and recip...
Thylacine asked 6/2, 2012 at 10:0
7
Solved
Here is a simple code snipplet but this just hangs and unresponsive.
$httpClient = new GuzzleHttp\Client(); // version 6.x
$headers = ['X-API-KEY' => '123456'];
$request = $httpClient->...
Cormier asked 29/4, 2016 at 21:39
2
Solved
Im trying to help someone to implement new function on his code; but I have this error
Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'br_interne.question...
Gynecoid asked 30/12, 2019 at 21:18
3
Solved
My backbone.js application throwing an HTTP OPTIONS not found error when I try to save a model to my restful web service that's located on another host/URL.
Based on my research, I gathered from th...
Stiletto asked 24/3, 2013 at 18:7
11
Solved
I'm trying to add time as the prefix of the image name along with the original name when uploading, But I couldn't figure it out. Please help me with the following code to add a prefix to my origin...
Kalamazoo asked 16/2, 2014 at 13:30
2
I want to integrate xero api for public application in php.
I am stuck with oauth application authorization
I have download code from github https://github.com/XeroAPI/XeroOAuth-PHP (find on xero a...
Stoa asked 8/10, 2014 at 6:33
© 2022 - 2024 — McMap. All rights reserved.