484 Topics
| |
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. | |
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 … | |
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'); … | |
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 … | |
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? | |
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 … | |
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, … | |
Hello Anyone can recommend me the best php IDEs available which also provide support for frameworks like zend or codeigniter? | |
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 … | |
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 … | |
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 … | |
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] … | |
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 | |
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 … | |
[B]is Codeigniter able to protect Your Site From sql injection When You Use Active Record??[/B] | |
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 … | |
[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'])) { … | |
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 … | |
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" > … | |
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 … | |
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 … | |
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 … | |
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' => … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.