Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
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. |
|
josepostiga |
Best Practices
|
8 |
5,092 |
08-17-2017, 08:46 AM |
|
|
Thread: share data between server applications
Post: RE: share data between server applications
(08-17-2017, 04:37 AM)nasser.man Wrote: (08-17-2017, 02:23 AM)josepostiga Wrote: You could do it in different ways.
1. You could create some API endpoints so the apps could communicate with each ... |
|
josepostiga |
Best Practices
|
8 |
5,092 |
08-17-2017, 06:49 AM |
|
|
Thread: What should we call the CLI tool?
Post: RE: What should we call the CLI tool?
(08-16-2017, 10:34 PM)jarmen_kell Wrote: i like "spark"
it's kind of nostalgic,
if you know what I mean... :)
x2 |
|
josepostiga |
CodeIgniter 4 Development
|
30 |
29,280 |
08-17-2017, 02:27 AM |
|
|
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 conne... |
|
josepostiga |
Best Practices
|
8 |
5,092 |
08-17-2017, 02:23 AM |
|
|
Thread: Should we integrate Flysystem
Post: RE: Should we integrate Flysystem
|
josepostiga |
CodeIgniter 4 Feature Requests
|
28 |
20,610 |
08-02-2016, 01:53 AM |
|
|
Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error
(04-05-2016, 03:32 PM)albertleao Wrote: @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 typic... |
|
josepostiga |
Issues
|
11 |
12,944 |
04-05-2016, 04:09 PM |
|
|
Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error
(04-05-2016, 05:50 AM)Narf Wrote: What do you mean why not? You can't arbitrarily make-up a rule and then ask why it is not true.
- The documentation says it's loaded via $this->load->lib... |
|
josepostiga |
Issues
|
11 |
12,944 |
04-05-2016, 06:11 AM |
|
|
Thread: $this->session->sess_destroy(); error
Post: RE: $this->session->sess_destroy(); error
(04-05-2016, 05:00 AM)Narf Wrote: (04-05-2016, 03:01 AM)josepostiga Wrote: The Session library should be autoloaded as a driver, and not as a library... So, instead of adding it to the $autolo... |
|
josepostiga |
Issues
|
11 |
12,944 |
04-05-2016, 05:15 AM |
|
|
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.com/... |
|
josepostiga |
Issues
|
2 |
19,367 |
04-05-2016, 03:04 AM |
|
|
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... |
|
josepostiga |
Issues
|
11 |
12,944 |
04-05-2016, 03:01 AM |
|
|
Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3
(04-04-2016, 10:03 AM)albertleao Wrote: 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 subdoma... |
|
josepostiga |
Addins
|
7 |
6,096 |
04-04-2016, 10:08 AM |
|
|
Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3
(04-04-2016, 08:48 AM)albertleao Wrote: (04-04-2016, 08:26 AM)josepostiga Wrote: (04-04-2016, 08:14 AM)albertleao Wrote: This is very insecure as I can easily spoof my subdomain to an address.
... |
|
josepostiga |
Addins
|
7 |
6,096 |
04-04-2016, 09:03 AM |
|
|
Thread: Simple subdomains handler for CI3
Post: RE: Simple subdomains handler for CI3
(04-04-2016, 08:14 AM)albertleao Wrote: 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 on that? |
|
josepostiga |
Addins
|
7 |
6,096 |
04-04-2016, 08:26 AM |
|
|
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... |
|
josepostiga |
Addins
|
7 |
6,096 |
04-04-2016, 06:24 AM |
|
|
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... |
|
josepostiga |
General Help
|
3 |
2,415 |
04-02-2016, 07:03 AM |
|
|
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/libra...rule-group
You'd just skip the set rules part and, in the config file, define the rule to use and then call that... |
|
josepostiga |
CodeIgniter 4 Feature Requests
|
3 |
3,464 |
04-02-2016, 06:56 AM |
|
|
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... |
|
josepostiga |
General Help
|
1 |
3,246 |
04-02-2016, 06:49 AM |
|
|
Thread: [April Fool] CodeIgniter 5 has been released!
Post: RE: CodeIgniter 5 has been released!
|
josepostiga |
News & Discussion
|
19 |
58,448 |
04-01-2016, 01:28 PM |
|
|
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')-&... |
|
josepostiga |
CodeIgniter 4 Feature Requests
|
3 |
3,464 |
04-01-2016, 02:20 AM |
|
|
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 |
|
josepostiga |
General Help
|
3 |
2,415 |
03-31-2016, 01:20 PM |