CodeIgniter is an open-source PHP web development framework created by EllisLab Inc. The framework implements a modified version of the Model-View-Controller design pattern. Use this tag for questions about CodeIgniter classes, methods, functions, syntax and use.
0
votes
0answers
11 views
How to redirect individual blog posts to a new blog system
I am going to use my blogging system and was using Wordpress so far. I want to redirect all the existing posts in the WP blog to the relevant posts in the new blogging system. Please let me know the ...
0
votes
0answers
4 views
atk4 invoke page sub method like in codeignighter controller
I have a page:
class page_membership extends Page{
public init(){
parent::init();
}
public register(){
}
public reset_password(){
}
}
How do I access from the url to :
...
0
votes
3answers
26 views
Dealing with url request in CodeIgniter
I just started learning codeigniter and i must say its pretty easy but I have a problem dealing with wrong urls, for example:
if I have an anchor tag like this
http://example.com/info/2
in the ...
0
votes
0answers
21 views
How do I setup user profile with tank_auth
I am using tank auth as the authentication library in my website, I heard that it supports optional user profile . But I can't see any controller for that purpose. Can any one suggest a noob friendly ...
0
votes
1answer
17 views
Codeigniter login with codeigniter-bcrypt
I am using codeigniter-bcrypt from https://github.com/dwightwatson/codeigniter-bcrypt, with codeigniter. I have a form that is submitting post data to my main controller. I then check via a model the ...
0
votes
0answers
6 views
jQuery Nested Sortable in Codeigniter
I have adapted the nested sortable plugin to codeigniter, its updating the order records in the database, but while i'm getting the all pages, its not ordering in user interface, just ordering ...
0
votes
1answer
20 views
Cannot get the RSS to work as a valid feed
This the rss: http://mimjob.com/news/rss
PHP:
<?php ob_start(); echo'<?xml version="1.0" encoding="utf-8" ?>' . "\n"; ?>
<rss version="2.0"
...
0
votes
2answers
19 views
Urgent restore files after using delete_files on CodeIgniter
I tried to delete an image in my website using CodeIgniter using this command:
delete_files("./".$versus->getConc1() -> getPicture_path());
I need to know how to recover my files, I use ...
0
votes
1answer
36 views
What is a dictionary table in SQL?
I have to build this retail site, and aparently all the properties info comes from a third party company. Everything looked fine, they sent me a .mdb file with all the tables (which convert to a .sql ...
0
votes
3answers
31 views
How to get data from database by using $query->result() in codeigniter without foreach loop?
I have just started using CodeIgniter and want to get data from database using $query->result(), but without a foreach loop. Here is my current code:
$this->db->select('m_name');
...
0
votes
2answers
19 views
No errors, but no success in jquery Ajax
I'm doing an ajax call to my controller, but the alert in my success isn't displaying and I'm not getting errors in console. I don't know how to proceed now.
Controller - rate
function ...
0
votes
1answer
35 views
retrieving session via cross domain ajax
Background:
I'm developing a website tracker using javascript. Here's how it works:
1) A user visits any domain the tracker script is on "anydomain.com". The script makes a successful ajax call in ...
1
vote
1answer
24 views
Best Practices: Creating a simple CRUD web application with users/roles
After searching online a good amount, I couldn't find anything that was exactly what I was looking for or that outlined how to create a web application with users. The closest thing I could find was ...
0
votes
0answers
17 views
.htaccess unwanted https on home codeigniter
I am using codeigniter, and would like some specific pages to turn HTTPS.
The pages I want HTTPS works and turn HTTPS as intended,
Problem occurs on the 'home' page wich is simply http://domain.tld
...
0
votes
2answers
22 views
CodeIgniter foreach loop. How to refer to object “key”
I have a black out since 1 hour ago.
I working in CI and I have following array:
Array
(
[0] => stdClass Object
(
[id] => 58
[idAby] => 57
...