Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: share data between server applications
Post: RE: share data between server applications

The requests should be done server side, of course... Just study other's API implementations and study a little bit more before doing any actual work.
5,255 Views
8 Replies
08-17-2017, 08:46 AM
josepostiga
    Thread: share data between server applications
Post: RE: share data between server applications

nasser.man Wrote: (08-17-2017, 04:37 AM) -- josepostiga Wrote: (08-17-2017, 02:23 AM) -- You could do it in different ways. 1. You could create some API endpoints so the apps could communicate wi...
5,255 Views
8 Replies
08-17-2017, 06:49 AM
josepostiga
    Thread: What should we call the CLI tool?
Post: RE: What should we call the CLI tool?

jarmen_kell Wrote: (08-16-2017, 10:34 PM) -- i like "spark" it's kind of nostalgic, if you know what I mean... :) -- x2
31,016 Views
30 Replies
08-17-2017, 02:27 AM
josepostiga
    Thread: share data between server applications
Post: RE: share data between server applications

You could do it in different ways. 1. You could create some API endpoints so the apps could communicate with each other; 2. You could whitelist each servers IP address and use multiple database co...
5,255 Views
8 Replies
08-17-2017, 02:23 AM
josepostiga
    Thread: Should we integrate Flysystem
Post: RE: Should we integrate Flysystem

Definitely!
21,339 Views
28 Replies
08-02-2016, 01:53 AM
josepostiga
    Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error

albertleao Wrote: (04-05-2016, 03:32 PM) -- @josepostiga this is the 2nd time you have posted a way to do something on this forum that is either bad practice, specific to your application, against ty...
13,670 Views
11 Replies
04-05-2016, 04:09 PM
josepostiga
    Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error

Narf Wrote: (04-05-2016, 05:50 AM) -- What do you mean why not? You can't arbitrarily make-up a rule and then ask why it is not true. - The documentation (https://codeigniter.com/userguide3/librarie...
13,670 Views
11 Replies
04-05-2016, 06:11 AM
josepostiga
    Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error

Narf Wrote: (04-05-2016, 05:00 AM) -- josepostiga Wrote: (04-05-2016, 03:01 AM) -- The Session library should be autoloaded as a driver, and not as a library... So, instead of adding it to the $auto...
13,670 Views
11 Replies
04-05-2016, 05:15 AM
josepostiga
    Thread: smtp send errno=32 Broken pipe
Post: RE: smtp send errno=32 Broken pipe

First of all, I hope those are not your real access information... If so, change them and hide them from your message! Now, for your problem, check if this answer helps you: http://stackoverflow.co...
19,930 Views
2 Replies
04-05-2016, 03:04 AM
josepostiga
    Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error

The Session library should be autoloaded as a driver, and not as a library... So, instead of adding it to the $autoload['libraries'] array, it should be added to the $autoload['drivers'] array, like t...
13,670 Views
11 Replies
04-05-2016, 03:01 AM
josepostiga
    Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3

albertleao Wrote: (04-04-2016, 10:03 AM) -- All I'm saying is that users will find this thread and see "Simple subdomain handler for CI3" and think your initial post is the correct way to handle subd...
6,311 Views
7 Replies
04-04-2016, 10:08 AM
josepostiga
    Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3

albertleao Wrote: (04-04-2016, 08:48 AM) -- josepostiga Wrote: (04-04-2016, 08:26 AM) -- albertleao Wrote: (04-04-2016, 08:14 AM) -- This is very insecure as I can easily spoof my subdomain to an a...
6,311 Views
7 Replies
04-04-2016, 09:03 AM
josepostiga
    Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3

albertleao Wrote: (04-04-2016, 08:14 AM) -- This is very insecure as I can easily spoof my subdomain to an address. This should be handled by having different environments -- Can you elaborate o...
6,311 Views
7 Replies
04-04-2016, 08:26 AM
josepostiga
    Thread: Simple subdomains handler for CI3
Post: Simple subdomains handler for CI3

Hey guys. Just wanted to share some useful knowledge on how to detect, and use, multi app system detection for CI3. It's pretty simple and straight-forward. Edit your root index.php. On the line wher...
6,311 Views
7 Replies
04-04-2016, 06:24 AM
josepostiga
    Thread: Generating Database Configuration File
Post: RE: Generating Database Configuration File

The link I gave you is not to identify the environment of the application, but to load the configuration without being messing around with the config files directly. Also, you could create a system h...
2,487 Views
3 Replies
04-02-2016, 07:03 AM
josepostiga
    Thread: Form Validation Individual Field Validation
Post: RE: Form Validation Individual Field Validation

It would work the same, as referenced here: https://codeigniter.com/user_guide/libraries/form_validation.html?highlight=form%20validation#calling-a-specific-rule-group You'd just skip the set rules p...
3,577 Views
3 Replies
04-02-2016, 06:56 AM
josepostiga
    Thread: CI Migration Library and dynamic config values
Post: RE: CI Migration Library and dynamic config values

Just for future reference, I've managed to handle this situations by extending the core Migration Library and making a few changes regarding the configuration getters and setters. The final class goes...
3,358 Views
1 Replies
04-02-2016, 06:49 AM
josepostiga
    Thread: [April Fool] CodeIgniter 5 has been released!
Post: RE: CodeIgniter 5 has been released!

YES! lol
59,408 Views
19 Replies
04-01-2016, 01:28 PM
josepostiga
    Thread: Form Validation Individual Field Validation
Post: RE: Form Validation Individual Field Validation

If you chain set_rules method with the run method you get exactly what you want. PHP Code: -- if (! $this->form_validation->set_rules($field, $field, 'rules_here')->run()) { echo form_error($fi...
3,577 Views
3 Replies
04-01-2016, 02:20 AM
josepostiga
    Thread: Generating Database Configuration File
Post: RE: Generating Database Configuration File

Have you though about .env files? You can generate them relatively easy and load them with PHP getenv function. Check this out: https://github.com/josepostiga/Codeigniter-env-support
2,487 Views
3 Replies
03-31-2016, 01:20 PM
josepostiga

Theme © iAndrew 2016 - Forum software by © MyBB