Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Working with uploaded files
Post: RE: Working with uploaded files

OK, after search I find reponse class and service $response = service('response'); return $response->download($file,null);
651 Views
1 Replies
06-24-2022, 01:48 AM
Kordianz
    Thread: Working with uploaded files
Post: Working with uploaded files

Hi, I work on CRM system for my friend, and I'm stoped by this theoretically think. For test, I create upload form (frome some tutorial): Code: -- public function upload()     {         $validat...
651 Views
1 Replies
06-20-2022, 12:20 PM
Kordianz
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

Yes, but work with this, without not. Hmm, maybe: $routes->setDefaultNamespace('App/Controllers'); herer is wrong slash
1,060 Views
9 Replies
02-13-2022, 11:30 AM
Kordianz
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

WORRRKSS!!! $routes->get('/wpis/(:num)', 'Front\Blog::wpis/$1', ['namespace' => 'App\Controllers']);
1,060 Views
9 Replies
02-13-2022, 10:48 AM
Kordianz
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

my folders structure: https://i.ibb.co/jJDg96f/structure.png
1,060 Views
9 Replies
02-13-2022, 06:20 AM
Kordianz
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

for testin I do: public function wpis($id=0) and add in Routes $routes->get('/wpis', 'FRONT\Blog:wpis'); $routes->get('/wpis/(:num)', 'FRONT\Blog::wpis/$1'); now, in url when I go in: ...
1,060 Views
9 Replies
02-13-2022, 04:47 AM
Kordianz
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

iRedds Wrote: (02-12-2022, 10:58 PM) -- https://forum.codeigniter.com/thread-80579-post-391775.html#pid391775 -- Thanks, but unfortunelly: PHP Code: -- $routes->get('', 'FRONT\Page::index'); $rout...
1,060 Views
9 Replies
02-13-2022, 01:45 AM
Kordianz
    Thread: another routing problem :) please help
Post: another routing problem :) please help

Hi, PHP Code: --   -- I create Blog, and in Blog Controller I hane method index, who select all posts and method 'wpis':  public function wpis($id)     {       $dzis = Time::today('Europe/Warsa...
1,060 Views
9 Replies
02-12-2022, 02:50 PM
Kordianz
    Thread: How to limit findall result
Post: RE: How to limit findall result

Thanks!!
1,811 Views
2 Replies
01-25-2022, 12:40 PM
Kordianz
    Thread: How to limit findall result
Post: How to limit findall result

Hi, I try like this: Code: -- $data['wpisy']=$model->select('id,tytul,data_publikacji,opis_meta,obrazek')                                                            ->limit(3)                   ...
1,811 Views
2 Replies
01-24-2022, 01:16 PM
Kordianz

Theme © iAndrew 2016 - Forum software by © MyBB