Tags "codeigniter" Result

multiple applications with codeigniter from same framework directory?

could i use one codeigniter framework directory to create multiple applications? cause it seems that i have to have separate codeigniter folder instances for different applications. i want to be able to adjust some code in one place (classes that are universal) and every application i created with codeigniter will be affected. with yii you could

it1352 4 2019-05-13

Routing problems with Codeigniter and Backbone.js

Here are the frameworks I am using: Codeigniter Codeigniter REST API Require.js Backbone.js Running the app: The htaccess file redirects everything through the Codeigniter index.php file. There is a default route setup in Codeigniter to call the "Start" Controller. The Start Controller calls the Start View (the only view in Codeigniter ). The

it1352 5 2019-05-06

How to upload image in CodeIgniter?

In view <?php echo form_open_multipart('welcome/do_upload');?> <input type="file" name="userfile" size="20" /> In controler function do_upload() { $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'gif|jpg|png'; $config['max_size'] = '100'; $config['max_width'] = '1024'; $config['max_height']

it1352 0 2019-05-13

How to use Angular4 to Codeigniter view?

First, I have PHP Codeigniter project currently run on server Then I've installed latest Angular4 CLI (Typescript) to server But I don't know how to integrate with Codeigniter project. How to use Angular4 in Codeigniter views like an AngularJS? I guessed, Should I run ng-build every time? for use compiled .js file to PHP view Any Idea? Solut

it1352 0 2020-10-04

Run webpage on localhost

I am working on a project with MVC architecture and using the codeigniter framework. I keep on getting an error when i try running the file in the following way. http://localhost:9080/internship-management/sourcecode/codeigniter/index.php/vacancyManagement I've set the base_url in the config.php file in the config directory as follows */ $config

it1352 4 2019-05-13

Codeigniter- cache view into a view

i'm wondering if it's possible to cache a view which is loaded inside another view. I do: view.php: <div> <?php echo $this->load->view('modules/new_view'); ?> </div> so view.php requires a new view inside himself, can i cache the views/modules/new_view.php content? Solution Codeigniter has Web Page Caching CodeIgni

it1352 0 2020-10-04

Codeigniter Forum Integration

I'd like to integrate a simple forum with a Codeigniter application and wondered if anyone had any recommendations? Cheers Laurence Solution I would take a look at vanilla forums, lots of addons, open source, and pretty easy to integrate things with (ie Codeigniter) http://vanillaforums.org/ there are a few forum topics on how to do things with

it1352 1 2019-05-13