Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Axios POST requests and Ci security class
Post: RE: Axios POST requests and Ci security class

skunkbad Wrote: (12-18-2018, 08:29 AM) -- See this: https://github.com/axios/axios/issues/1498 and search on Google for "axios php $_POST" -- qury Wrote: (12-18-2018, 10:19 AM) -- Hi instead ...
5,635 Views
3 Replies
12-21-2018, 04:36 AM
enelson
    Thread: Axios POST requests and Ci security class
Post: Axios POST requests and Ci security class

Ha anybody experience wtith using axios (https://github.com/axios/axios) with CI? Axios POST  requests are received via PHP's input stream, not in the usual POST array. As such, the regular method fo...
5,635 Views
3 Replies
12-18-2018, 04:20 AM
enelson
    Thread: Help with Looping through an object
Post: RE: Help with Looping through an object

paulkd Wrote: (11-12-2018, 01:06 AM) -- Hi, I got this answer from https://stackoverflow.com/questions/4282413/sort-array-of-objects-by-object-fields (https://stackoverflow.com/questions/4282413/s...
10,674 Views
11 Replies
11-13-2018, 08:58 AM
enelson
    Thread: Help with Looping through an object
Post: RE: Help with Looping through an object

paulkd Wrote: (11-11-2018, 10:43 AM) -- Do you have control of what is producing the json? -- No, I'am receiving it via API call
10,674 Views
11 Replies
11-11-2018, 11:35 AM
enelson
    Thread: Help with Looping through an object
Post: RE: Help with Looping through an object

Another issue I have is that I want to sort $list in ascending order by "data_amount". asort(), ksort() etc are returning bool(true) instead of the $list objects - and they should be. Any ideas as...
10,674 Views
11 Replies
11-11-2018, 10:16 AM
enelson
    Thread: Pagination problem
Post: RE: Pagination problem

See Customizing the Pagination (https://www.codeigniter.com/user_guide/libraries/pagination.html?highlight=pagination#customizing-the-pagination). Adjust the value of $config[‘num_links’] = 2;  to so...
2,418 Views
2 Replies
11-11-2018, 09:44 AM
enelson
    Thread: Help with Looping through an object
Post: RE: Help with Looping through an object

paulkd Wrote: (11-11-2018, 12:52 AM) -- Hi, Your json format is incorrect. json keys should be in double quotes. ... -- I removed some part of the JSON before posting here - that inclusive. ...
10,674 Views
11 Replies
11-11-2018, 09:36 AM
enelson
    Thread: Help with Looping through an object
Post: Help with Looping through an object

Hi all, i have a JSON that looks similar to one shown below: Code: -- products: [ { id: "D-MFIN-2-150MB", pur_currency: "NN", topup_amount: 200, price: 200, data_amount: "150" ...
10,674 Views
11 Replies
11-10-2018, 11:17 AM
enelson
    Thread: Load view from Controller issue
Post: RE: Load view from Controller issue

Is your view file name contact-us.php or contact_us.php?
20,600 Views
23 Replies
06-12-2018, 09:17 AM
enelson
    Thread: Question For SMS
Post: RE: Question For SMS

curl can be used. Here is (http://codular.com/curl-with-php) a quick tutorial.
3,466 Views
2 Replies
04-28-2018, 02:47 PM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

InsiteFX Wrote: (04-22-2018, 04:31 AM) -- Show the code were your setting up the $CI -- Hi, I copied the contents of the website to a new (test) folder and it worked from there. So I deleted ever...
35,526 Views
10 Replies
04-23-2018, 12:07 AM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

Bad Luck. The report from my last post worked when I copied my application to a new test folder. Back to the real app and the problem persists. So I removed sessions driver from the autoload.php, m...
35,526 Views
10 Replies
04-21-2018, 04:51 AM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

Adding  PHP Code: -- $this->ci->load->library('Session'); -- to the library file, immediately after  PHP Code: -- $this->ci =& get_instance(); -- fixed the issue. This was suggested by someone...
35,526 Views
10 Replies
04-20-2018, 03:24 PM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

InsiteFX Wrote: (04-16-2018, 04:01 AM) -- I would autoload the session library because it is always used ./application/config/autoload.php -- it's autoloaded. I only loaded it in the controller...
35,526 Views
10 Replies
04-16-2018, 04:45 AM
enelson
    Thread: Facebook plug-in for Ion-Auth
Post: RE: Facebook plug-in for Ion-Auth

Hi, if you're around, I have an error while using your library . -> https://forum.codeigniter.com/thread-70479.html
5,854 Views
4 Replies
04-16-2018, 03:43 AM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

theedo Wrote: (04-16-2018, 03:07 AM) -- Did you loaded the session in autoload or in the construct function? -- I did. This is what the class that handles redirects from FB looks like PHP Co...
35,526 Views
10 Replies
04-16-2018, 03:29 AM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

Is this error generated by CI or Facebook? It isn't formated like native CI errors (see attachment).
35,526 Views
10 Replies
04-16-2018, 02:47 AM
enelson
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: Unable to locate the specified class: Session.php ...

Am integrating Facebook login using this library (https://github.com/bvrignaud/ci-fb-ion-auth). However after redirection from FB I get an error: Unable to locate the specified class: Session.php ...
35,526 Views
10 Replies
04-15-2018, 04:32 PM
enelson
    Thread: Getting day, month and year apart from Db
Post: RE: Getting day, month and year apart from Db

I store dates in the db as UNIX timestamps, this way it's easy to change the value. You can then format the timestamps to a human readable date, this might help https://stackoverflow.com/a/29481073 ...
11,939 Views
6 Replies
03-12-2018, 12:20 PM
enelson
    Thread: Forgot Password - Expiration link after click or 24h
Post: RE: Forgot Password - Expiration link after click ...

Grifasi Wrote: (03-09-2018, 03:04 AM) -- Hi, I would like when the password recovery is given the link that sends it by CodeIgniter expires after it is accessed or after 24h if it is not accessed. ...
3,824 Views
2 Replies
03-09-2018, 10:33 AM
enelson

Theme © iAndrew 2016 - Forum software by © MyBB