Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Get db name
Post: Get db name
hi sorry for english , there is a way to get db name ?
i have this code to get db table :
Code: $db = \Config\Database::connect();
 ... |
|
pippuccio76 |
CodeIgniter 4 Support
|
2 |
166 |
04-05-2021, 07:12 AM |
|
|
Thread: Validate file if a select is...
Post: RE: Validate file if a select is...
(03-17-2021, 05:21 PM)kenjis Wrote: You can create custom validation rules.
https://codeigniter4.github.io/CodeIgnit...stom-rules
The question is how can i pass file to validation ? I must control i... |
|
pippuccio76 |
CodeIgniter 4 Support
|
4 |
403 |
03-18-2021, 12:46 AM |
|
|
Thread: Validate file if a select is...
Post: RE: Validate file if a select is...
(03-17-2021, 02:16 AM)iRedds Wrote: If you upload a file, then information about it is in a separate array.
Use a request instance instead of $data.
PHP Code:$file = Config\S... |
|
pippuccio76 |
CodeIgniter 4 Support
|
4 |
403 |
03-17-2021, 02:18 AM |
|
|
Thread: Validate file if a select is...
Post: Validate file if a select is...
i , sorry for english , i want validate a form with a select and file , only if select value is 6 the file must be uploaded .
How can i create this rule ?
this is my code:
Code: <select id='i... |
|
pippuccio76 |
CodeIgniter 4 Support
|
4 |
403 |
03-16-2021, 01:06 PM |
|
|
Thread: One rule for several controller
Post: One rule for several controller
hi , sorry for english, i have 10 view (every of one controller) , in every view i must load 1 file in a dropzone . When i load the file i add a record in a table , all the table have a suffix and sa... |
|
pippuccio76 |
CodeIgniter 4 Support
|
0 |
232 |
03-13-2021, 02:11 AM |
|
|
Thread: Insert file in folder create a idindex.html
Post: RE: Insert file in folder create a idindex.html
(03-06-2021, 04:14 PM)iRedds Wrote: I'll be honest. What you've done with directories is a perversion. =)
Open your console and go to the codeigniter directory.
Update through the composer as I wro... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
603 |
03-06-2021, 05:20 PM |
|
|
Thread: Insert file in folder create a idindex.html
Post: RE: Insert file in folder create a idindex.html
(03-06-2021, 01:15 PM)iRedds Wrote: Could this solve your problem? I think it can.
If you were using Composer, then you could update like this
Code:composer update --no-dev
If you installed CodeIgn... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
603 |
03-06-2021, 01:20 PM |
|
|
Thread: Insert file in folder create a idindex.html
Post: RE: Insert file in folder create a idindex.html
(03-06-2021, 11:59 AM)iRedds Wrote: What version of CI are you using?
The issue has been fixed in version 4.0.5 / 4.1.0
My version is 4.0.4 :@
if i update can i solve ?
How can i update to the l... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
603 |
03-06-2021, 12:50 PM |
|
|
Thread: Insert file in folder create a idindex.html
Post: RE: Insert file in folder create a idindex.html
(03-06-2021, 08:08 AM)paulbalandan Wrote: The index.html file is created to prevent accidental leaking of the contents of the folder if viewed in the browser. If your server uses Apache, for example... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
603 |
03-06-2021, 09:56 AM |
|
|
Thread: Insert file in folder create a idindex.html
Post: Insert file in folder create a idindex.html
Sorry for english this is my controller's method (working with ajax) :
PHP Code:public function dropzone_documenti() { //recupero le inform... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
603 |
03-06-2021, 03:41 AM |
|
|
Thread: Development on localhost
Post: RE: Development on localhost
(02-11-2021, 02:05 PM)captain-sensible Wrote: @insiteFX i think he was joking !
@pippucio76 are you running Linux (which distro) on bare metal or is it via virtualbox or alternative ?
The way i d... |
|
pippuccio76 |
CodeIgniter 4 Support
|
8 |
796 |
02-12-2021, 01:41 AM |
|
|
Thread: Development on localhost
Post: RE: Development on localhost
(02-01-2021, 12:19 PM)InsiteFX Wrote: Then it must be a system configuration issue not sure of what your running.
I also see your running on a Mac, I' am on Windows 10 Pro x64.
I' am sure someone ... |
|
pippuccio76 |
CodeIgniter 4 Support
|
8 |
796 |
02-11-2021, 08:50 AM |
|
|
Thread: Filter route problem
Post: Filter route problem
hi , this is my filter:
Code:<?php namespace App\Filters;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Filters\Filte... |
|
pippuccio76 |
CodeIgniter 4 Support
|
0 |
193 |
02-10-2021, 05:12 PM |
|
|
Thread: resultset Model Error
Post: RE: resultset Model Error
(02-08-2021, 01:36 PM)iRedds Wrote: Error?
1. You have set Entity to return result
2. You are using findAll() method (returns an array of results)
There is no error here.
this is my entity:
PHP... |
|
pippuccio76 |
CodeIgniter 4 Support
|
2 |
290 |
02-08-2021, 02:14 PM |
|
|
Thread: resultset Model Error
Post: resultset Model Error
This is my code :
PHP Code:$data['lista_documenti_dichiarante'] = $isee_documenti_documenti_dichiarante_model->where('id_isee' , $id) &nb... |
|
pippuccio76 |
CodeIgniter 4 Support
|
2 |
290 |
02-08-2021, 11:51 AM |
|
|
Thread: Json response error
Post: RE: Json response error
(02-05-2021, 02:39 PM)iRedds Wrote: without call the header function.
$this->response->setJSON(["jsonrpc" => "2.0", "result" => null, "id" => "id"])
// Content-type application/... |
|
pippuccio76 |
CodeIgniter 4 Support
|
3 |
369 |
02-06-2021, 01:40 AM |
|
|
Thread: Json response error
Post: Json response error
hi ,i want use plupload in one of my project , this is the method to store file:
PHP Code: public function upload_documenti_personali() { &nb... |
|
pippuccio76 |
CodeIgniter 4 Support
|
3 |
369 |
02-05-2021, 11:22 AM |
|
|
Thread: Development on localhost
Post: RE: Development on localhost
(01-31-2021, 09:44 PM)InsiteFX Wrote: In your Config/App.php make sure this is empty.
PHP Code:public $indexPage = '';
Same problem with public $indexPage = ''; |
|
pippuccio76 |
CodeIgniter 4 Support
|
8 |
796 |
02-01-2021, 12:11 PM |
|
|
Thread: Development on localhost
Post: Development on localhost
Hi , to work properly on server , this is my project root directory:
[Image: https://imgur.com/4oXrPhJ.png]
The codeigniter app is inside the codeigniter folder :
[Image: https://imgur.com/TB3q... |
|
pippuccio76 |
CodeIgniter 4 Support
|
8 |
796 |
01-31-2021, 02:31 AM |
|
|
Thread: Update instead insert
Post: RE: Update instead insert
(01-29-2021, 05:19 AM)demyr Wrote: (01-29-2021, 05:05 AM)pippuccio76 Wrote: i save data for different model because i have a two type of user , the first part (a simple registration data) i save i... |
|
pippuccio76 |
CodeIgniter 4 Support
|
9 |
617 |
01-29-2021, 11:18 AM |