Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: question about routes and filter
Post: question about routes and filter

is it possible to take a dynamic value from (:num) and use it in a filter? routes: PHP Code: -- $routes->group('(:num)', ['subdomain' => 'test1', 'filter' => 'filtertest:$1'], function ($routes) { -...
37 Views
0 Replies
8 hours ago
Secux
    Thread: problem with ContentSecurityPolicy
Post: problem with ContentSecurityPolicy

enabled 'public $ CSPEnabled = true;' and trying to adjust ContentSecurityPolicy.php ,but it doesn't work, I tried all possible options: https://website.com https://*.website.com *.website.com ...
25 Views
0 Replies
10 hours ago
Secux
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

php_rocs Wrote: (Yesterday, 05:33 AM) -- @"Secux" , How where you able to solve your problem? -- I found this solution. I don't know how correct and optimized it is PHP Code: -- $list_busi...
157 Views
7 Replies
10 hours ago
Secux
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

nfaiz Wrote: (10-25-2021, 07:26 AM) -- Join table using SQL? -- I want to use a model only
157 Views
7 Replies
10-25-2021, 07:28 AM
Secux
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

can anyone give an idea how to do it?
157 Views
7 Replies
10-25-2021, 06:21 AM
Secux
    Thread: retrieving data from a database and re-retrieving from another database
Post: retrieving data from a database and re-retrieving ...

how to i make the following request correctly and optimized? PHP Code: -- $BusinessOwnership = $this->BusinessOwnership->where('userID', session()->get('id')); foreach($BusinessOwnership as $r...
157 Views
7 Replies
10-24-2021, 12:19 PM
Secux
    Thread: Get select for all controllers
Post: RE: Get select for all controllers

I gave the code as an example only :) that is, my code must be put in basecontrolles to work in all controllers?
333 Views
4 Replies
10-12-2021, 11:23 PM
Secux
    Thread: Get select for all controllers
Post: Get select for all controllers

where this select must be added to apply to all controllers PHP Code: -- $builder = $db->table('users'); $builder->select('title, content, date'); $builder->from('mytable'); $data[‘user’] = $buil...
333 Views
4 Replies
10-10-2021, 09:36 PM
Secux
    Thread: Help for alpha_numeric_punct
Post: Help for alpha_numeric_punct

I'm trying to add Cyrillic as well as a new line but it doesn't work PHP Code: -- /** * Alphanumeric, spaces, and a limited set of punctuation characters. * Accepted punctuation characters are...
318 Views
1 Replies
10-06-2021, 12:24 PM
Secux
    Thread: safely display html code- quilljs
Post: RE: safely display html code- quilljs

it is imported as html code and so it is saved in the database, when it selects it it produces html code but at the moment there is xss I don't know how to protect it
358 Views
2 Replies
10-04-2021, 04:08 AM
Secux
    Thread: safely display html code- quilljs
Post: safely display html code- quilljs

I use "quilljs" how to safely display html code entered via quilljs but at the same time to be protected by XSS  output data from a database PHP Code: -- --
358 Views
2 Replies
10-03-2021, 07:37 AM
Secux
    Thread: XMLHttpRequest error and isAjax not work
Post: RE: XMLHttpRequest error and isAjax not work

I tried to add a header but it doesn't work. there may be some special way to add a header in codeigniter 4? Help me
403 Views
3 Replies
09-03-2021, 12:54 AM
Secux
    Thread: XMLHttpRequest error and isAjax not work
Post: XMLHttpRequest error and isAjax not work

i am trying to make the following request with ajax but i get an error -  XMLHttpRequest cannot load https://api.domain.com/view?id=1&csrf_name=fbadd9981aa3c2850b03b8eb52aa75ca&_=1630524468477 due to...
403 Views
3 Replies
09-01-2021, 12:34 PM
Secux
    Thread: I have a problem with ajax and csrf - The action you requested is not allowed.
Post: I have a problem with ajax and csrf - The action y...

Hello, I have a problem with ajax and csrf. - this is my code: view: Code: -- $('#view').html(''); $.ajax({ url: "https://site.com/api/view", type: "POST", contentType: "application/json", hea...
416 Views
1 Replies
08-29-2021, 05:37 AM
Secux
    Thread: Form action not working
Post: RE: Form action not working

Thanks, I saw where the problem was
739 Views
4 Replies
05-29-2021, 01:43 PM
Secux
    Thread: Form action not working
Post: RE: Form action not working

I tried with User/add and it still doesn't work maybe I should put some kind of helper? pressing the button does not execute the form at all subSECURE is = secure.domain.com in routers.php ...
739 Views
4 Replies
05-29-2021, 01:00 PM
Secux
    Thread: Form action not working
Post: Form action not working

This is the code. When you press the submit button, nothing happens view: Code: --
739 Views
4 Replies
05-29-2021, 11:50 AM
Secux
    Thread: get and post filtering for xss, sql injection
Post: RE: get and post filtering for xss, sql injection

I read somewhere that if I use the query module it also protects against injections. is this true?
834 Views
5 Replies
05-18-2021, 08:50 AM
Secux
    Thread: I need help when I try to upload an image
Post: RE: I need help when I try to upload an image

InsiteFX Wrote: (05-16-2021, 03:36 PM) -- Remove the avatar, it is not an image -- ext_in[field_name,png,jpg,gif] It was a problem - form enctype="multipart/form-data" it must also be added to ...
470 Views
2 Replies
05-16-2021, 10:14 PM
Secux
    Thread: get and post filtering for xss, sql injection
Post: RE: get and post filtering for xss, sql injection

InsiteFX Wrote: (05-16-2021, 03:37 PM) -- xaa is built into CodeIgniter both versions you just need to turn it on see the Users Guide. --  Ok thx, sql injection?
834 Views
5 Replies
05-16-2021, 09:03 PM
Secux

Theme © iAndrew 2016 - Forum software by © MyBB