As part of a University project, my team and I have to set up automated unit testing with CruiseControl.rb. We chose to use CodeIgniter for the project, and are having some problems getting everything working together. Does anyone have experience setting up such a configuration? Some of the unit testing frameworks we've tried are:
PHPUnit…
I'm building a survey w/ Codeigniter, and it's getting cumbersomely long...so I want to split it up into sections (about 5).
If I want each section to validate, and submit to db after the user clicks "next", what is the best way to do this? I've never made a multi-step process before.
Any advice for a noob? :)
I'm writing a system where users can generate/run queries on demand based on the values of 4 dropdown lists. The lists are dynamically generated based on a number of factors, but at this point, I'm having problems validating the input using codeigniter's built in validation classes. I think I have things out of order, and I've tried…
Hello,
I'm still quite new to CodeIgniter and I was wondering, where should I place my PHP functions that has nothing to do with Controllers and Views, for example, a function that access a local file.
Thank you.
I am trying to encode a string into a safe url for generic purposes, and neither rawurlencode() nor urlencode() work when using CodeIgniter. I have used them and they work pefectly fine with straight PHP, but for whatever reason, it doesn't work. I haven't been able to find any others with this problem and thus no solution.
Code:
…
whenever using a framework it's so good with a api reference so you could lookup the classes' methods and properties, which class they extend from and so on.
is there a api reference for codeigniter similar to yii's excellent api referenc?
http://www.yiiframework.com/doc/api/
thanks.
does someone know roughly when CodeIgniter 2.0 will be released?
some weeks or months?
cause i can see a book about it in the bookstores released soon.
how to upload zip/rar files in codeigniter
itried like this
$config['allowed_types'] = 'application/x-zip|application/x-zip-compressed|application/octet-stream|application/x-compress|application/x-compressed|multipart/x-zip';
but not working . please help me.................
Im building a codeigniter app which uses json_encode to provide ajax data in many places... today I learned that the server has php 5.1.6 which doesnt support this method (or json_decode).. what can I do?? please help.
I have just moved my CodeIgniter project to a new server and now I'm getting a 500 error and no output from the project. It works fine on my old server and in my test environment. I'm completely stumped how to troubleshoot this, especially as there's nothing of use in the log files. Any help would be great!
Hi,
I need to pass a variable to model, that model needs to send another back and use that variable to query a different model.
EG:
I have a product_ID which I send to the product model, From that I find out the supplier_ID. I want to grab that supplier_ID to the supplier model to get the supplier name.
How do you implement…
hello everybody!
can anyone tell me how to create 2 different thumbnails of same images with different sizes and location in codeigniter. I have created a upload function and another thumbnail generation function, it works fine but can't sort out how to create 2 different thumbnail at accordingly at once. any help will be…
I am using codeigniter. I want to know how to set up a cron job to check a table for expiring users and insert data in to another table with the list of expiring users. How to do that.
When i tried to write a script with controller and model to insert the table
:
Content-type: text/html
Fatal error: Class 'Controller'…
Hello guys, i have start working with CodeIgniter, but i can't understand one think. How do i load one class into another?
$this->load->library("hello_world");
This is not working?
my class - load - hello_world class
class myclass {
function test() {
$this->load->library("hello_world");
…
Hi,
I want to integrate the dhtmlxScheduler calender with thecodeigniter framework. but i am not sure how to connect with the model instead of the db directly and also, how to manage the interaction between the controller, the model and interface
thanks,
Ok...so I've just started playing around with Codeigniter. I've followed the two tuts on their website and I'm looking for more resources to expand my knowledge. What do you guys recommend?
I've developed a website in php codeigniter with the idea of using single physical instance of the code.
Here the logic i wanted to be is on login page user will chose the companyid which will be internally to the database name.
I want to know how to update the active_group variable according to the company id chosen by…
I'm using DX_AUTH to handle autentication in my codeigniter app.
I want to display in each page the login status, I'm used to develop my view throught template inheritance.
I'm looking for a way to access login information from the views without passing it each time.
How can i create a vanity url in codeigniter. Im having real trouble doing this in the framework. And there doesnt seem to be any good answers out there.