484 Topics

Member Avatar for
Member Avatar for mwenyenia07

i am new to codeIgniter and am using version 1.7. can somebody give me sample scripts to illustrate MVC. use login/user authentication from database typically using username and password. after logging, user should be redirected to certain page if invalid credentials, display error message. give comments on your logic.

Member Avatar for ko ko
0
71
Member Avatar for mwenyenia07

Hi, I have created a web application in php/codeIgniter. when i want to access the same from anothe computer using say 'http://10.11.111.101/pos',it displays a blank page instead of login page. i have developed it using ubuntu 9.04. what can i do to make it accessible local area network ? i …

Member Avatar for ko ko
0
62
Member Avatar for mwenyenia07

i have written an application(login page) using codeigniter 2.02. when i try to load the page, it displays the following message: Fatal error: Class 'Controller' not found in /var/www/Files_Manager/application/controllers/login.php on line 2 this is the script: [CODE]<?php class Login extends Controller { //constructor function login() { parent::Controller(); $this->load->helper('url'); $this->load->helper('form'); $this->load->library('form_validation'); …

Member Avatar for aquilax
0
128
Member Avatar for Whilliam

Hello guys, I've been having this problem for 4 days now. I have this table that outputs records. One row contains all the records of the person. Every row has a 'ban' function. When the user clicks this 'ban' hyperlink, the program should popup a ban form wherein the user …

Member Avatar for ko ko
0
71
Member Avatar for Whilliam

Hello guys, sorry if this is a noobish question but I'm really new to framework. My question is how do you pass parameters with codeigniter?

0
81
Member Avatar for ronnieaka

i'm gonna be building a website,for my summer training,but then later commercialize to earn a few bucks Main thing is, i want to make it as attractive GUI wise as possible with probably PHP only, and ajax and flash are allowed to get as many marks as possible and it …

Member Avatar for dhruv_arora
0
113
Member Avatar for samsons17

Hi all.. i want to design a structure for a large user base application..and i am using the codeigniter framework.. I wondering here, how could then i separate the data/files from the user such as the pictures, videos and so on from the application files. If i am not mistaken, …

Member Avatar for momo219
0
123
Member Avatar for Ritesh_4

Hello Anyone can recommend me the best php IDEs available which also provide support for frameworks like zend or codeigniter?

Member Avatar for Ritesh_4
0
127
Member Avatar for ronnieaka

i'm gonna be building a website,for my summer training,but then later commercialize to earn a few bucks Main thing is, i want to make it as attractive GUI wise as possible with probably PHP only, and ajax and flash are allowed to get as many marks as possible and it …

Member Avatar for chrishea
0
252
Member Avatar for IWDesigns

hi guys... ive been working with codeigniter for over a year now, but ive been taking scripts apart and fixing errors/adding new functions, ....now im coding something from scratch and its proving to be quite annoying as the new version has a lot of stuff changed, so im pretty much …

Member Avatar for diafol
0
763
Member Avatar for veledrom

Hi, I am using this function to download an image that I uploaded before by using Codeigniter. Function successfully downloads it with same name but when I try to open it, I get an error which says "Cannot be opened... file format... is not supported..." Please help. Thanks CONTROLLER: [CODE]public …

0
75
Member Avatar for veledrom

Hi, I want to buy a Codeigniter book to learn its framework and develop PHP applications with it. I've been using PHP about 4 years but never used any kind of framework before. Which one of these books would be good for me to get staring: [URL="http://www.amazon.co.uk/CodeIgniter-Professional-Development-Adam-Griffith/dp/1849510903/ref=sr_1_1?s=books&ie=UTF8&qid=1304357639&sr=1-1"]CodeIgniter 1.7 Professional Development[/URL] …

Member Avatar for veledrom
0
197
Member Avatar for praveen_dusari

hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen

Member Avatar for twiss
0
81
Member Avatar for veledrom

Hi, I just started learning CodeIgniter. There is a library [ICODE]$this->load->library('form_validation');[/ICODE] for form validation with rules. Does that mean we don't have to use Javascript to validate forms anymore? Because, if we have to use those validators in CI (sake of the best practise), what is the point of using …

Member Avatar for veledrom
0
932
Member Avatar for wd3bbas

[B]is Codeigniter able to protect Your Site From sql injection When You Use Active Record??[/B]

Member Avatar for McLaren
0
97
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
674
Member Avatar for McLaren

[CODE] if(!$this->upload->do_upload()) { //echo $config['upload_path']; $error = $this->upload->display_errors(); echo $error.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } else { $data = $this->upload->data(); $this->load->model('Image_model','image'); if($data['image_width'] > 700) { $task = $this->image->image_resize_for_gallery('./uploads/gallery/'.$this->input->post('album_folder').'/'.$data['file_name']); if($task != 'ok') { echo $task.':err'; //pagal galune .err javasctriptas atskirs kad cia klaida } } if($this->image->gallery_thumb($this->input->post('album_folder'),$data['file_name'])) { …

0
98
Member Avatar for mr-jacob

Hi there, I have a question about how to set up a blog with a MVC model(codeigniter). I did some research but i cant find any information because i gues i dont know the terms to look for. I know how to set it up but i get stuck on …

0
88
Member Avatar for samsons17

hi..I am wanted to use the anchor() tag which is one of the url helper in codeigniter for the div. [B] Below is the code which i want to convert into the codeigniter form :[/B] [CODE] <a href="events/page/<?php echo $id; ?>"> <div class="title_row" id="<?php echo $id; ?>"> <div class="content" > …

Member Avatar for jigarvyas
0
5K
Member Avatar for sawjuk

Hello, Guys Please help me.. 1.which are the popular CMS (like joomla,drupal) now in use with most popular websites? 2.which are the popular frameworks(like codeigniter) now in use with most popular websites? I wish to work with php,but i have only mere knowledge about php,frameworks,etc..please quote your suggestions based on …

Member Avatar for diafol
0
132
Member Avatar for McLaren

Hi, I have one question: I am programming with PHP, CodeIgniter. But it may suit for other tools as well. I need to delete something from the table and I want to be sure that there will be deleted row from another table. In short - delete to rows, each …

Member Avatar for McLaren
0
442
Member Avatar for samsons17

Hi all. I got some problem here. I made a website using codeigniter framework. And on my website there is the list of events that are happening at my university.. Whenever a person click on the events title bar, a slide panel like Twitter will shows up next to that …

0
61
Member Avatar for McLaren

Hi, I am trying to integrate facebook using library from this blog: [URL="http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/"]http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/[/URL] I made a test function: [CODE] function index() { $this->ci =& get_instance(); // Create our Application instance //(replace this with your appId and secret). $this->ci->load->file(APPPATH.'/third_party/facebook.php'); $this->data['facebook'] = new Facebook(array( 'appId' => $this->ci->config->item('id'), 'secret' => $this->ci->config->item('key'), 'cookie' => …

0
71
Member Avatar for samsons17

hi i'm working on codeigniter for now.and i got some problem with the user login system. basically user can login using his/her email address, and then the login system will retrieve the user corresponding "username" base on the email address entered.This username will then be stored as session and will …

Member Avatar for kurtopia
0
2K
Member Avatar for samsons17

Hi guys..i am just dealing with codeigniter framework.. Could you guys tell me where exactly should i put the ajax/javascript file in the codeigniter directory? I mean could it be in the application folder or whatever, or it doesnt matter? because i want to know which is the best practice …

Member Avatar for samsons17
0
405
Member Avatar for McLaren

Hi, I have one simple problem. PHP (CodeIgniter) code: [CODE=php] $query = $this->db->where('filename',$filename)->select('valid_until')->get('jos_reklama_banners'); $row = $query->row(); $valid_until = $row->valid_until; if($valid_until > time()) { $sql = "UPDATE `jos_reklama_banners` SET valid_until = valid_until + ? WHERE `id` = ?"; $query = $this->db->query($sql, array($days*86400 ,$filename)); //viena diena 86400 sekundziu //echo 'daugiau'; } else …

Member Avatar for McLaren
0
158
Member Avatar for saimaz

Hi iam using CI 1.7 and doctrine 1.2 and trying to make some search. But default search with indexes for me is not enough, because search keywoard must exect with indexed word. Is there any chance to make that more flexible where doctrine will detect with similar meanings not the …

0
86
Member Avatar for kgizo

hi i'm new to php, i already have a database called msansi its table called provinces i've already created a drop down list of all my nine provinces now what i want to do is, i want the cities associated with the provinces to display on the same page as …

Member Avatar for kgizo
0
140
Member Avatar for mizzievie

I have the fields of three. There are Criteria, Line, and Customer. I use CodeIgniter as my php framework. In this case, if I want to choose Line fields (dropdown), I have to choose Criteria first, the line fields is disabled until I have criteria choosen. The same thing as …

0
84
Member Avatar for IWDesigns

hi guys i have a problem with php and sql my website is made in codeigniter and i have a transaction page which works perfectly...i also have a cp screen that shows the "last transaction" the transactions log deposits/transfer/withdrawels and if someone purchases a package whereas the transaction page works …

Member Avatar for Javvy
0
60

The End.