Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Load google api
Post: RE: Load google api

kenjis Wrote: (05-18-2022, 05:30 PM) -- pippuccio76 Wrote: (05-18-2022, 12:50 PM) -- composer don't autolad google class ? -- Composer do autoload google class if the class name is correct. [hr] ...
174 Views
3 Replies
05-19-2022, 03:42 AM
pippuccio76
    Thread: Load google api
Post: RE: Load google api

pippuccio76 Wrote: (05-18-2022, 12:50 PM) -- hi , i try to create an  application with google calendar , i run : Code: -- composer require google/apiclient:^2.0 -- than create a control...
174 Views
3 Replies
05-18-2022, 04:29 PM
pippuccio76
    Thread: Load google api
Post: Load google api

hi , i try to create an  application with google calendar , i run : Code: -- composer require google/apiclient:^2.0 -- than create a controller : PHP Code: --
174 Views
3 Replies
05-18-2022, 12:50 PM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

demyr Wrote: (02-23-2022, 05:28 AM) -- pippuccio76 Wrote: (02-23-2022, 05:13 AM) -- I have 21 button in this page ( every button create a row in a table, not the same table ) , i cannot disable all ...
1,252 Views
16 Replies
02-23-2022, 06:39 AM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

demyr Wrote: (02-23-2022, 03:50 AM) -- Well, the easiest solution for frontend developers is to disable the button after you click it. It is easy. You can either Google (https://www.google.com/...
1,252 Views
16 Replies
02-23-2022, 05:13 AM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

iRedds Wrote: (02-23-2022, 02:42 AM) -- pippuccio76 Wrote: (02-23-2022, 02:25 AM) -- Same problem with form , if i click on Button submit several time are created One row for every click -- With C...
1,252 Views
16 Replies
02-23-2022, 02:52 AM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

iRedds Wrote: (02-23-2022, 01:58 AM) -- kenjis Wrote: (02-23-2022, 12:31 AM) -- Do not use anchor to create a row. -- I agree with @"kenjis" . In addition, this is not a REST approach. By sendin...
1,252 Views
16 Replies
02-23-2022, 02:25 AM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

kenjis Wrote: (02-23-2022, 12:31 AM) -- Do not use anchor to create a row. -- Anchor or form Is the same for this problem, or not?
1,252 Views
16 Replies
02-23-2022, 01:25 AM
pippuccio76
    Thread: Prevent duplicate db's row
Post: RE: Prevent duplicate db's row

iRedds Wrote: (02-22-2022, 11:37 PM) -- Don't press 3 times. https://codeigniter.com/user_guide/libraries/throttler.html -- This can be used for a single user?
1,252 Views
16 Replies
02-22-2022, 11:58 PM
pippuccio76
    Thread: Prevent duplicate db's row
Post: Prevent duplicate db's row

HI , sorry for english , i have several anchor that create a row and redirect to modify this record . If i press the anchor 3 times before internet change page , are created 3 rows . How can i prevent...
1,252 Views
16 Replies
02-22-2022, 11:18 PM
pippuccio76
    Thread: Filter object not of user
Post: Filter object not of user

Hi , i have several table's row with user_id field , for example table a,b and c ,for  every controller about  this table i must filter user to prevent show and modify of every row that haven't user_i...
356 Views
1 Replies
02-19-2022, 06:42 AM
pippuccio76
    Thread: Remove /public from URLs
Post: RE: Remove /public from URLs

luckmoshy Wrote: (02-15-2022, 12:40 AM) -- I don't know why many people suggest removing index from public to outside that is not the right way only .htaccess can work for Appache here you go don't t...
1,041 Views
4 Replies
02-15-2022, 12:43 PM
pippuccio76
    Thread: Codeigniter on localhost without php spark serve
Post: Codeigniter on localhost without php spark serve

HI , to use ci4 on shared hosting i use  this guide : https://www.youtube.com/watch?v=k943H5OiIdE It work fine on hosting , but in localhost the same code need to add index.php on url . How can ...
376 Views
0 Replies
02-13-2022, 04:21 AM
pippuccio76
    Thread: Count model result
Post: RE: Count model result

demyr Wrote: (02-10-2022, 08:25 AM) -- Yeah, it was for model. You can also check on Documentation page (https://codeigniter.com/user_guide/database/query_builder.html?highlight=count#limiting-or-cou...
598 Views
7 Replies
02-10-2022, 11:09 AM
pippuccio76
    Thread: Count model result
Post: RE: Count model result

demyr Wrote: (02-10-2022, 07:26 AM) -- Hi, Code: -- public function number_of_x_item($x_id){ $db      = \Config\Database::connect(); $builder = $db->table('your_db_table as dbt'); $query =...
598 Views
7 Replies
02-10-2022, 08:20 AM
pippuccio76
    Thread: Count model result
Post: Count model result

how can i count  rows of model result ?  For example : Code: -- $usersModel = new UsersModel(); $users = $usersModel->findAll(); //count all users ? --
598 Views
7 Replies
02-10-2022, 06:26 AM
pippuccio76
    Thread: Use library without namespace
Post: RE: Use library without namespace

iRedds Wrote: (01-31-2022, 05:12 PM) -- app/Config/Autoload.php classmap property Don't force the namespace in someone else's library. -- Removed namespace .  In config Autoload : Code: --...
664 Views
6 Replies
02-06-2022, 04:16 AM
pippuccio76
    Thread: Use library without namespace
Post: RE: Use library without namespace

kenjis Wrote: (01-31-2022, 05:04 PM) -- Without adding the namespaces. Or adding the correct namespaces in all files. It seems you need to learn PHP's namespaces and PSR-4 autoloader. -- There ...
664 Views
6 Replies
02-01-2022, 12:59 AM
pippuccio76
    Thread: Use library without namespace
Post: Use library without namespace

Hi , i want use this php library : https://github.com/s2software/fatturapa if i add namespace to FatturaPa.php (renamed ) i have this error : Class 'App\ThirdParty\Fatturapa\DOMDocument' not fo...
664 Views
6 Replies
01-31-2022, 01:44 PM
pippuccio76
    Thread: variable to layout
Post: RE: variable to layout

The footer is used from several page of my project , i cannot set variable in every method of every controller that show the template . I need a  global variable (data from db ) to set user contact (e...
567 Views
3 Replies
01-19-2022, 08:56 AM
pippuccio76

Theme © iAndrew 2016 - Forum software by © MyBB