If you have problem with uploading rar file using codeigniter upload class it because on mime file there’s no definition for rar file.
Open system/application/config/mime.php file and add RAR definition
‘rar’ => ‘application/rar’
(Note: I use Firefox 4, that config may not work on other browser because other browser may define MIME for rar fire differently.
Recently I want to increase my maximum file size, I develop my own Codeigniter application, I am using file upload class. Far as I know I just need increase “file_uploads” to desired value I want.
I increase the “file_uploads” to 150MB. When I try upload 18MB file use my application it’s just show me a [...]
inadvertently I added / after index.php on one of my web project and strange it produce some error like this
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 201
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 207
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 210
After search I found the solution, it just need to change “uri_protocol’” to PATH_INFO on config.php
reference : http://codeigniter.com/forums/viewthread/127502/
I just successfully using Codeigniter email library to send an email on Yahoo small business, It’s not to difficult to do that, here my step.
Login To your Yahoo small business, http://smallbusiness.yahoo.com/
Click “Access Your Account” on top bar, then “small business”
Click “Web Hosting Controll Panel”
Click “Create & Update” tab
Click “Other Site Building Tools”
Click “PHP/Perl Mail”
On right [...]
This day I have to update a website based on Codeigniter, 1.54. When trying on the development environment, all running smoothly, but when transferred to the server some problems arise.
In part used session function (I use the library session Codeigniter) , randomly displays a HTTP 406 error.
When searching on google, I know that [...]
Yesterday I got report from my client website, he tell me that he can not login on their administrator panel, then I ask what browser that he use, he said Internet Explorer. After couple hour I did some test, I use IE to access administrator panel, then the web panel say I am not login, [...]
Just saw new release of Codeigniter 1.7.2 on my Facebook account. He he he a new library look so interesting to try, a shopping chart library, can’t wait to try it
Just realize that the date validation is little tricky, yesterday I just make my new date validation method. Include couple step :
When you doing a multi lingual code some time you will find with unusual character, for example when you doing code in France Language, you will found some character like é
In code igniter, when you use “Language Class” you will create a “Language file” in your language directory application path. The important part [...]
CI provide us a class to simplify our file uploading routine. We can easily make a file uploading process in just a few simple step, no head spin needed. But we must know how the Uploading class work, so we can solve some problem may occurred.
Recent Comments
- envio in Epson T13 General Error
- bratz in Epson T13 General Error
- Wade in Silly first slide on bxSlider
- Jesus in Epson T13 General Error
- pranay in readfile() disabled, alternative so…
- envio in Mail sent by user nobody being disc…
- 1mr3yn in Mail sent by user nobody being disc…
- pardss in Epson T13 General Error
- envio in Codeigniter RAR file Upload
- P.Ashokkumar in Codeigniter RAR file Upload