Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: I have a problem with ajax and csrf - The action you requested is not allowed.
Post: RE: I have a problem with ajax and csrf - The acti...

iRedds Wrote: (08-29-2021, 10:34 PM) -- You are not sending JSON, but a key = value pair You need to convert JS object to JSON Code: -- data : JSON.stringify({'':''}), -- -- hello, i do this...
6,960 Views
6 Replies
08-10-2022, 11:22 AM
pws
    Thread: CI4, getting ERROR 500
Post: RE: CI4, getting ERROR 500

Hexes Wrote: (03-22-2020, 09:37 AM) -- Code: -- [Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/app/ [Sun Mar 22 18...
4,764 Views
6 Replies
08-10-2022, 03:17 AM
pws
    Thread: Model with many allowedFields data
Post: RE: Model with many allowedFields data

Ahmed Haroon Wrote: (08-02-2022, 10:46 PM) -- you mean, instead of marking allowedFields which are various you want NOTallowedFields which are fewer?  yet i failed to find this type of thing. may be...
1,448 Views
3 Replies
08-03-2022, 09:40 AM
pws
  Exclamation Thread: Model with many allowedFields data
Post: Model with many allowedFields data

Hello, I have an Model where i need to set the "allowedFields" with big array data (more than 50 fields)! Is possible to define "allowedFields" where i not need to insert all fields!? thanks
1,448 Views
3 Replies
08-02-2022, 11:58 AM
pws
  Exclamation Thread: whoops page
Post: whoops page

Hello, i use an package from github: https://github.com/fattureincloud/fattureincloud-php-sdk and i integrate it correctly..  my problem is when use it in a specefic conditions my website return th...
1,666 Views
3 Replies
07-19-2022, 03:34 AM
pws
    Thread: session in different sub -domain
Post: RE: session in different sub -domain

Hello, thanks for your reply.. How i change path and cookies settings? and what must i write?
1,552 Views
3 Replies
04-18-2021, 02:21 AM
pws
    Thread: session in different sub -domain
Post: session in different sub -domain

I have 3 differnt sub domain and each one have the login of user.. I want every time the user do login/register from any sub domain redirect to other subdomain where will see his panel.. How i can d...
1,552 Views
3 Replies
04-17-2021, 03:12 AM
pws
    Thread: FPDF
Post: RE: FPDF

hello, i get this error: is_file(): open_basedir restriction in effect. File(/var/www/vhosts/procreagency.com/dev.procreagency.com/CI/app/Libraries/fpdf182/fpdf.php/Config/Events.php) is not within...
16,307 Views
6 Replies
09-11-2020, 10:52 AM
pws
    Thread: FPDF
Post: RE: FPDF

hello @niklas can you send me full code example how use fpdf? i need it to my website
16,307 Views
6 Replies
09-10-2020, 02:45 AM
pws
  Exclamation Thread: integrate script using vendor
Post: integrate script using vendor

Hello, I have script which buikded by composer (we have vendor folder and using require_once auload.php) How i must do to integrate it on my codegneiter (version 4) website? thanks
673 Views
0 Replies
09-05-2020, 09:03 AM
pws
    Thread: setlocale
Post: setlocale

Hello, how i can use setLocale to change date format to italian format? ########## in native php we use: Code: -- setlocale(LC_ALL, 'it_IT'); echo date("D d M Y", strtotime("2020-01-01")); ...
669 Views
0 Replies
08-27-2020, 07:04 AM
pws
    Thread: add paypal as library
Post: RE: add paypal as library

thanks for your reply, but where and how i uplaod the paypal SDK in my website directories?
2,469 Views
3 Replies
08-23-2020, 08:04 AM
pws
    Thread: add paypal as library
Post: add paypal as library

Hello, i want use paypal sdk (expresscheckout) on my website CI4 How i can use the paypal as library? thanks
2,469 Views
3 Replies
08-22-2020, 05:35 AM
pws
    Thread: use paginate() on custom function
Post: RE: use paginate() on custom function

InsiteFX Wrote: (08-10-2020, 05:29 AM) -- Something like this, I use the Query Builder and Model. PHP Code: -- public function get_corsi_modulo($tipologia_corsi = null, $id_argomenti = null) { ...
3,505 Views
3 Replies
08-10-2020, 06:53 AM
pws
    Thread: use paginate() on custom function
Post: use paginate() on custom function

Hello, on my model i create new function returned an array: public function get_corsi_modulo($tipologia_corsi=null,$id_argomenti=null){ $db = \Config\Database::connect(); $req="SELECT * FROM ".$...
3,505 Views
3 Replies
08-10-2020, 03:33 AM
pws
    Thread: using pager to display custom text
Post: using pager to display custom text

Hello, i use pager to display my items with pagination i need to display this type of text: Showing 1–9 of 60 results How i can do this?
767 Views
0 Replies
08-06-2020, 09:36 AM
pws
  Exclamation Thread: routing multi params
Post: routing multi params

Hello, i want create a route URL multiparams but without know the total of params, for example: case 1: cours/type : online case 2: cours/type:online/cat : cat1 case 3: cours/cat:cat1/subcat : s...
1,070 Views
1 Replies
07-27-2020, 02:38 PM
pws
    Thread: allowedFields in class
Post: RE: allowedFields in class

i found the error ! this happened when is set in model: protected $useTimestamps = true; protected $useSoftDeletes = true; protected $deletedField = 'deleted_at'; But why?! and if i want use $...
16,296 Views
8 Replies
06-05-2020, 08:06 AM
pws
    Thread: combined validation rule
Post: combined validation rule

Hello, in my form i have checkbox input i need if when is checked other input text must be required! how i can do this with validation library? thanks
1,456 Views
1 Replies
06-01-2020, 03:25 PM
pws
    Thread: display error message
Post: RE: display error message

thnaks it's solved
1,995 Views
2 Replies
06-01-2020, 08:33 AM
pws

Theme © iAndrew 2016 - Forum software by © MyBB