Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: javascript/css style
Post: RE: javascript/css style

(12-14-2014, 07:23 PM)jaysondotp Wrote: i have javascriprt function that there is an id name and i need to call the value into html.   now it is possible to add the id name inside my html value, par...
trentramseyer General Help 3 3,561 12-14-2014, 11:56 PM
    Thread: Check method/function exist with Controller
Post: RE: Check method/function exist with Controller

Depending where in the application you want this to happen, you can use the _remap function from CI https://ellislab.com/codeigniter/user-gu...llers.html PHP Code:public function _remap(&#...
trentramseyer General Help 4 7,860 12-11-2014, 10:39 PM
    Thread: $this->form_validation->error_array() not work
Post: RE: $this->form_validation->error_array() not work

(12-11-2014, 03:01 AM)artha.nugraha Wrote: please help, i'll try this code in my localhost is working but not in may hosting server. PHP Code:public function register() {  &nbs...
trentramseyer Libraries & Helpers 2 5,357 12-11-2014, 12:50 PM
    Thread: Design Patterns in PHP
Post: RE: Design Patterns in PHP

Nice Find.
trentramseyer Best Practices 4 10,832 12-11-2014, 12:47 PM
    Thread: File Folder Is Not Writable
Post: RE: File Folder Is Not Writable

(12-06-2014, 12:42 PM)Narf Wrote: (12-06-2014, 04:54 AM)trentramseyer Wrote: Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can...
trentramseyer General Help 11 12,951 12-07-2014, 04:01 PM
    Thread: [Solved] Ignore File Upload
Post: RE: Ignore File Upload

(12-06-2014, 05:06 AM)riwakawd Wrote: Thanks for your advice. No Problem! Good Luck.
trentramseyer CodeIgniter 2.x 5 365 12-06-2014, 05:11 AM
    Thread: codeigniter in a subdirectory, some issues.
Post: RE: codeigniter in a subdirectory, some issues.

(12-04-2014, 08:32 AM)malokevi Wrote: http://sleepawake.com/2013/application/c.../reset.css whereas typically I would expect this to work: http://sleepawake.com/2013/common/styles/reset.css (not ...
trentramseyer Installation & Setup 4 21,288 12-06-2014, 05:10 AM
    Thread: [Solved] Ignore File Upload
Post: RE: Ignore File Upload

"But Question: In the DO NOTHING part what would be best to put "return false" or some thing like that." Not sure what you mean. Why would you need to return anything? If you need to know the same ...
trentramseyer CodeIgniter 2.x 5 365 12-06-2014, 05:00 AM
    Thread: File Folder Is Not Writable
Post: RE: File Folder Is Not Writable

Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can attempt to use something like PHP Code:$_SERVER["DOCUMENT_ROOT"] .&nbs...
trentramseyer General Help 11 12,951 12-06-2014, 04:54 AM
    Thread: Strange (to me) routing behaviour
Post: RE: Strange (to me) routing behaviour

(12-04-2014, 09:22 PM)lazylazz Wrote: I get a 404 if i try accessing abc.com/hello (which again, I expect).  What I find peculiar though is that if I enter abc.com/example/hi in my browser, I can ac...
trentramseyer General Help 5 4,958 12-06-2014, 04:50 AM
    Thread: [Solved] Ignore File Upload
Post: RE: Ignore File Upload

If it is, wrap your form validation rules in an IF statement that make them happen If it is not, the form validation rules don't need to be included. PHP Code:if (is_uploaded_file($_FILES[...
trentramseyer CodeIgniter 2.x 5 365 12-06-2014, 04:39 AM
    Thread: Handle in controller category, subcategory,page_name
Post: RE: Handle in controller category, subcategory,pag...

(12-05-2014, 07:20 PM)scion Wrote: So task is: I have on a site category, subcategory. Obviously they have something like post (or product, whatever) and of course i using pagination segment. So u...
trentramseyer General Help 2 3,849 12-06-2014, 04:32 AM
    Thread: CodeIgniter in Subdirectories Using .htaccess
Post: RE: CodeIgniter in Subdirectories Using .htaccess

(12-05-2014, 04:15 PM)EpicKris Wrote: I have a CodeIgniter installation which I want to 'duplicate' into 2 subdirectories so example.com, example.com/subdirectory1, and example.com/subdirectory2 all...
trentramseyer Installation & Setup 2 6,161 12-06-2014, 04:11 AM
    Thread: Multisite with codeigniter HMVC
Post: RE: Multisite with codeigniter HMVC

Really depends if they are running independently of each other as khalilhimura suggested you can just load different application folders per domain. Or if you are doing a multi-site system that will ...
trentramseyer Best Practices 3 13,081 12-05-2014, 10:51 PM
    Thread: Sessions - Please Change
Post: RE: Sessions - Please Change

(12-05-2014, 02:29 PM)geekita Wrote: (12-04-2014, 06:37 PM)trentramseyer Wrote: Btw, I updated Session class for CI 2.2.x so I can use Native while waiting for 3 to be complete. (not going to cla...
trentramseyer CodeIgniter 3.x 10 11,162 12-05-2014, 10:43 PM
    Thread: Sessions - Please Change
Post: RE: Sessions - Please Change

Btw, I updated Session class for CI 2.2.x so I can use Native while waiting for 3 to be complete. (not going to claim it is 100% but seems to work well in my tests) https://github.com/trentramseyer/c...
trentramseyer CodeIgniter 3.x 10 11,162 12-04-2014, 06:37 PM
    Thread: Code Igniter vs Laravel
Post: RE: Code Igniter vs Laravel

Yep, just spent last night rewriting Session class to use all native. Still stores to DB like old way when needed. Just removed any reference to cookie setting that wasn't needed.
trentramseyer Choosing CodeIgniter 51 115,167 12-04-2014, 06:18 PM
    Thread: CodeIgniter or PhalconPHP ?
Post: RE: CodeIgniter or PhalconPHP ?

(11-17-2014, 04:26 AM)Narf Wrote: Somebody close this thread already, Phalcon is not even a framework. Curious as what it is called then.
trentramseyer Choosing CodeIgniter 28 47,647 12-02-2014, 07:28 PM
    Thread: Best way to remove index.php and redirect to https
Post: RE: Best way to remove index.php and redirect to h...

Remove the index.php, set the Index file in the config.php file to blank Code:/* |-------------------------------------------------------------------------- | Index File |-----------------------------...
trentramseyer General Help 2 4,124 12-02-2014, 03:25 AM
    Thread: Authentication, enough already!
Post: RE: Authentication, enough already!

Previous thread turned weird rather quickly. The Anti-Auth stance could be something that keeps various people away from using CI in future since Symfony, Laravel, Yii, all have base Auth classes to ...
trentramseyer News & Discussion 8 21,521 12-02-2014, 03:06 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.