Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Am I in the right track with CI with this library I made?
Post: Am I in the right track with CI with this library ...

Just picked up CI and am part of a team that is doing a custom CMS. I wanna use a menu management plugin i did a while ago but o sure if it is production ready or worth it all? Can someone take a l...
1,601 Views
1 Replies
01-26-2017, 02:28 PM
sammyci
    Thread: Best CORS Enabling in CI
Post: RE: Best CORS Enabling in CI

albertleao Wrote: (07-12-2016, 02:04 PM) -- Hello! As someone who has built applications requiring cors in vanilla php, laravel, and ruby on rails, I can tell you that it can be a headache whereve...
2,790 Views
2 Replies
07-14-2016, 05:16 AM
sammyci
  Question Thread: Best CORS Enabling in CI
Post: Best CORS Enabling in CI

We are about to switch to vanilla PHP or Laravel because CI is unclear and weak when it comes to CORS handling. Whats the best and practical way of enabling CORS on CI? Please be detailed and share wh...
2,790 Views
2 Replies
07-12-2016, 01:44 PM
sammyci
    Thread: Enable CORS in CI 3.0
Post: RE: Enable CORS in CI 3.0

I think not replying is better than very generic replies which are meant, I think, to confuse than to solve.
11,819 Views
4 Replies
07-11-2016, 02:39 PM
sammyci
    Thread: CSRF off but posts from any domain are accepted now
Post: RE: CSRF off but posts from any domain are accepte...

PaulD Wrote: (07-11-2016, 05:42 AM) -- With CSRF off (and I do not think it supports a CORS override of any sort as that would be contrary to the point of it) any website can post to your website url...
3,086 Views
5 Replies
07-11-2016, 08:50 AM
sammyci
    Thread: CSRF off but posts from any domain are accepted now
Post: CSRF off but posts from any domain are accepted no...

HI, I am a bit lost on the concept of CSRF in codeigniter. I want to post data from domain1 to domain2 (CI ready). To that, I enabled CORS but it fails. I turned of CSRF and it works without any CO...
3,086 Views
5 Replies
07-10-2016, 04:36 PM
sammyci
    Thread: $ci->config->set_item('language') having no effect
Post: $ci->config->set_item('language') having no effect

I am literary about to bleed...:( I want to set application language based on customer choice. I did the check in a hooks file. The cookie is set well then I do: $ci->config->set_item('language',$la...
1,885 Views
0 Replies
06-21-2016, 05:51 AM
sammyci
    Thread: Load library for default controls only (not admin)
Post: Load library for default controls only (not admin)

I have an app with its own CMS that maps to website.biz/admin Admin can turn on and off the website from the CMS. I have a library that checks the state and acts on it. It works great. I loaded it ...
1,118 Views
0 Replies
06-15-2016, 01:39 PM
sammyci
    Thread: Hierarchiel table rows with CI
Post: Hierarchiel table rows with CI

We have done a CMS for local applications that we use and we need to prepare a wordpress like menu manager. Not an easy task at all and it gets harder with CI. I am trying to follow the tutorial at HE...
3,393 Views
3 Replies
06-03-2016, 03:08 PM
sammyci
    Thread: Enable CORS in CI 3.0
Post: Enable CORS in CI 3.0

In my non-CI app, the following does disable CORS (for trial apps): $request_headers = apache_request_headers(); $http_origin = $request_headers['Origin']; header("Access-Contro...
11,819 Views
4 Replies
03-05-2016, 01:38 PM
sammyci
    Thread: Ajax POST and CSRF
Post: RE: Ajax POST and CSRF

thx Ikarius...will try and let you kno.
7,206 Views
4 Replies
02-20-2016, 08:05 PM
sammyci
    Thread: Ajax POST and CSRF
Post: Ajax POST and CSRF

I really have tried several ways to send post data via ajax. CSRF is blocking me and I dont want to disable or exclude the controller from CSRF check. Way One: Code: -- function sendrow(e){ va...
7,206 Views
4 Replies
02-20-2016, 10:46 AM
sammyci
    Thread: Running Stored Procedures...
Post: RE: Running Stored Procedures...

had the same problem...add nextresult to core mysql and all your queries got to have $query->next_result() and preferably free_result afterwords. a small setup in CI design.
3,968 Views
3 Replies
02-20-2016, 10:35 AM
sammyci
    Thread: Warning: POST Content-Length of X bytes exceeds the limit of Y bytes in
Post: Warning: POST Content-Length of X bytes exceeds th...

Ok...I kno the problem is in php.ini post post_max_size=8M but how do i get past it? I am in local windows server so changing php.ini setting to higher value works fine. The setting and (filesize) ...
3,573 Views
1 Replies
02-19-2016, 10:21 AM
sammyci
    Thread: Turn off CSRF for a single controller error
Post: RE: Turn off CSRF for a single controller error

Thanks so much man, saved my day!
2,484 Views
2 Replies
02-07-2016, 02:22 AM
sammyci
    Thread: Turn off CSRF for a single controller error
Post: Turn off CSRF for a single controller error

I have a controller that adds on # and : i.e. localhost/site/controller#files:home It works as expected with CSRF turned off. I want to turn it off for the whole controller. In my config I tried ex...
2,484 Views
2 Replies
02-06-2016, 03:32 PM
sammyci
    Thread: File/Media Manager Library
Post: RE: File/Media Manager Library

Thanks guys. We have decided to start from scratch and develop our one for CI3.0. It will be a lot work but we already have a bunch of apps set in line to be developed by CI.
6,463 Views
4 Replies
01-05-2016, 03:43 AM
sammyci
    Thread: File/Media Manager Library
Post: File/Media Manager Library

I been googling for three days to find a decent file manager for CI. I have downloaded a few free/open source but not satisfied: fileman : small foot print and easier but hard to integrate to CI du...
6,463 Views
4 Replies
12-29-2015, 04:12 AM
sammyci
    Thread: custom validation returns error always
Post: RE: custom validation returns error always

PaulD Wrote: (12-13-2015, 01:56 PM) -- What is the error you are getting - that would help... Best wishes, Paul. -- Alo Paul...i get the error message set for in in my form validation languag...
3,793 Views
4 Replies
12-14-2015, 11:26 AM
sammyci
    Thread: custom validation returns error always
Post: custom validation returns error always

I have a custom validator that returns error always. class myValidation extends CI_Form_validation { /** * myValidation:: */ function fieldvalueisok($value){ //validates value ...
3,793 Views
4 Replies
12-13-2015, 12:46 PM
sammyci

Theme © iAndrew 2016 - Forum software by © MyBB