Tagged Questions
0
votes
1answer
11 views
PHP - Real time notification system- supporting all browsers and devices
i'm actually using Codeigniter framework.
I was planning to make a simple real time notification system for website users.
The fact is i can see websockets etc .. all new awesome stuffs are not ...
0
votes
3answers
11 views
How to format text in CodeIgniter
Im trying to send an array in an email. I use the function
$this->email->message(print_r($array2, true));
When i use this, the array come through in the email, but its displayed in a single ...
0
votes
1answer
27 views
How do i send an array in an email message (CodeIgniter)
I was wondering how to send an array within an email message. I'm using pre tags to format it in the webpage. But im not able to send any data in the email. Here is the controller that im using:
...
-4
votes
0answers
19 views
Object not found in CodeIgniter when running on localhost
I have created a project in Windows on CodeIgniter Framework. The project will not run on Ubuntu. Instead, I get the following error message:
Not Found
The requested URL ...
0
votes
2answers
34 views
Making a dynamic URI in CodeIgniter
I have some website http://www.example.com, I have a controller abc in which I have method index() which loads my website's view. I have made my controller abc as default controller so that when user ...
0
votes
3answers
34 views
Swap SQL primary keys without affecting auto increment?
I have a table storing basic article information:
table name: cms_articles
[article_id] , [article_header] , [article_content]
1 , test , test content
2 , another , something
3 , ...
0
votes
2answers
36 views
codeigniter mail() from view
i have a contact page. By using ajax i call the contact action as
function contact_action() {
var form = $('#contact-form');
$.ajax({
type: "POST",
data: form.serialize(),
...
0
votes
1answer
37 views
Undefined Index for … existing index?
OK, that's more than weird...
Here's my code :
public function results($id,$pattern=3)
{
$this->load->library('session');
if (!$this->session->userdata('logged_in'))
{
...
0
votes
2answers
32 views
force remove index.php from the codeigniter
This is my codeigniter .htaccess file, I was successful in replacing the index.php with method name. But I want to forcefully remove the index.php from the url i.e if someone add index.php in the url ...
1
vote
1answer
18 views
Read the xls file in CodeIgniter php and upload into MySQL
I am working with php CodeIgniter, I am not able to read xls file and upload in to database. Plz help me give the MVC for this code I attached the link
CodeIgniter with PHPExcel fatal error cannot ...
0
votes
3answers
20 views
codeigniter routes remove the controller name
In my site i have many controllers like
1. admin
2. pages
3. hotels ...
My url is http://localhost/pages/page/about ---> I want it to be as http://sitename/page/about
...
0
votes
0answers
13 views
pgrfilemanager dynamicaly setting config variable
I am trying to use PGRFileManager to allow user to upload and browse their photo. I have set up my system so that every user should have their personal folders in which all their images will be ...
0
votes
0answers
11 views
Using Wordpress and Codeigniter in one website
Is it possible to use WordPress as the CMS but all of contents will be displayed using CodeIgniter?
What I want to know also if I can use the functions of WordPress by simply including this ...
0
votes
4answers
39 views
Codeigniter roles for more than one admin
Hello everybody i need help on codeigniter roles or permision. i have one user role (the admin) :
Table users ine the database :
id int(11)
email varchar(100)
password varchar(128) ...
-1
votes
0answers
18 views
CodeIgniter - create additional column under ci_sessions SQL table [on hold]
I know how to add a new column to the SQL table however I don't know how to insert certain information into it from the user_data.
The purpose is to use more efficient SQL queries and not needing to ...