CodeIgniter is an open-source PHP web development framework created by EllisLab Inc. The framework implements the Model-View-Controller design pattern. It is praised for its performance and the quality of its documentation. These are generally regarded as pros of the framework: Small footprint ...
0
votes
1answer
4 views
Language Change in codeigniter
How i change the language of a site in Codeigniter . I already make 3 language file (emglis , German , french) , I load the language file in main constructor but how i change the whole site language ...
0
votes
1answer
4 views
Show message if record already exists
I am newbie in CodeIgniter. I created a method that insert record in mysql db table now to make the query stop if record with same name already exists so I wrote:
public function set_project()
...
0
votes
2answers
9 views
mysql database update and codeigniter rows affected function
I am using this function this codeigniter function after update query
$this->db->affected_rows();
it returns number of rows affected if i update values, but if i update values with the same ...
0
votes
0answers
4 views
CodeIgniter / Gmail SMTP timeout on MAMP / IIS
I'm trying to use the CI email class to send email, but the page just hangs when it tries to send. I have tried on both IIS and now on my Mac using MAMP. The code is the same as has been copied all ...
0
votes
3answers
32 views
two dimension session issue with codeigniter
I want to store two dimensional array in session, where i keep creating the array through a function call.
I am trying with this code
function nextQuestion($questionId,$response)
{
...
0
votes
0answers
28 views
Parsing query in codeigniter
i need help about how to check patern in some query and how to make parsing in CI, this some sample query of nosql that the patern i want to check so i could make parsing out of it
db.users.find({}, ...
0
votes
1answer
19 views
Any set backs if I initialize codeigniter session every time controller gets called?
I having issues with Codeigniter sessions dying on IE randomly, I search everywhere and tried everything, the bug just wouldnt dissappear, i tried the function to check if ajax and wont sess_update() ...
0
votes
0answers
22 views
CodeIgniter: wrong uploading file mime type
Sometimes, when uploading files using <input> tag, I encounter problem where the file extension doesn't match with its mime type defined in application/config/mimes.php. For example when I ...
1
vote
1answer
10 views
Uploading .amr with codeigniter
I have been trying to get .arm upload to a website built in codeigniter. I know its not a default mine type so I added it with this:
'amr' => 'audio/amr',
but its doesnt seem to be working ...
0
votes
3answers
70 views
Why i get the same results
$all = $this->input->get('all');
if($all)
{
$keywords = $this->input->get('search');
$data['search'] = $keywords;
...
0
votes
2answers
22 views
Building a Page Based on Roles in Session from Relational Database in CodeIgniter
I'm new to codeigniter and just about everything at this point, but I have had some success with feeling my way around php, mysql, ci, and web application development in general. Though, I'm kind of ...
1
vote
0answers
34 views
How to create an API-centric application (more specifically: for HMVC in CodeIgniter)
Background:
I am working on a web application that I plan to launch iPhone and Android versions of in the near future and I have some questions about developing an API for use by the different ...
0
votes
2answers
17 views
CodeIgniter / Gmail SMTP timeout on IIS
I'm trying to send a simple email with codeigniter:
$email_config = Array(
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_port' => 465,
...
0
votes
1answer
23 views
Issue uploading some mp4 with codeigniter
I have a website where users can upload videos. I have been having an issue with some mp4 not uploading. Specifically ones coming from Android phones. I can get most mp4 upload just fine but the ones ...
1
vote
1answer
24 views
Rename Remote/Local File Then Upload (PHP)
I have a scenario (though been searching, have not found any lead yet) wherein user attempts to upload, but before clicking upload, user renames the filename/deletes the file.
How do I capture this ...