Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Combine with() and withInput() during redirection
Post: Combine with() and withInput() during redirection

I have a form which after submission, i would like to redirect back with a custom message and old inputs. The code below does the redirection unfortunately it does not return with the old data. PHP ...
114 Views
2 Replies
06-18-2022, 05:50 AM
coderscvoen
    Thread: form submit with csrf not working
Post: RE: form submit with csrf not working

captain-sensible Wrote: (11-17-2021, 02:59 AM) -- i've got a web dev local and live. On local i like to hit it  and see if it shakes. I ran zap against it and it did bring up one or two issues.   ...
1,012 Views
4 Replies
11-17-2021, 06:33 PM
coderscvoen
    Thread: form submit with csrf not working
Post: form submit with csrf not working

Hi, i have a simple login form which am using to test with csrf. I have enabled CSRFRegenerate to true and also un-commented it in the Filters.php file and also set cookiesecure and cookieHTTPOnly to ...
1,012 Views
4 Replies
11-16-2021, 10:50 PM
coderscvoen
    Thread: Allow inline style attibute on element using Content Security Policy (CSP)
Post: RE: Allow inline style attibute on element using C...

Am actually using slick slider. So i decided to replace the background image with img and its now okay. PHP Code: --
1,622 Views
8 Replies
09-25-2021, 05:24 AM
coderscvoen
    Thread: Allow inline style attibute on element using Content Security Policy (CSP)
Post: RE: Allow inline style attibute on element using C...

Could there be a javascript workaround to this. As in i create a custom attribute called "bg-img" and access it using javascript. Code: --   -- Based on the link given by @"InsiteFX" from CS...
1,622 Views
8 Replies
09-23-2021, 08:49 PM
coderscvoen
    Thread: Allow inline style attibute on element using Content Security Policy (CSP)
Post: RE: Allow inline style attibute on element using C...

wdeda Wrote: (09-23-2021, 04:45 AM) -- Since it is a background image it should be contained in an external CSS file, it is not recommended to use CSS files inline: Code: -- .max-header { box-s...
1,622 Views
8 Replies
09-23-2021, 08:07 AM
coderscvoen
    Thread: Allow inline style attibute on element using Content Security Policy (CSP)
Post: RE: Allow inline style attibute on element using C...

InsiteFX Wrote: (09-22-2021, 11:19 PM) -- MDN Web Docs - CSP: style-src (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src) -- The example they're showing ...
1,622 Views
8 Replies
09-23-2021, 02:18 AM
coderscvoen
    Thread: Allow inline style attibute on element using Content Security Policy (CSP)
Post: Allow inline style attibute on element using Conte...

Hi, l need help with this. Am showing an image from the database (the image is in a folder while the path is stored in the database) on a slider. I have enabled Content Security Policy from the "Confi...
1,622 Views
8 Replies
09-22-2021, 09:44 PM
coderscvoen
    Thread: Pagination using ajax in codeigniter 4
Post: RE: Pagination using ajax in codeigniter 4

InsiteFX Wrote: (06-08-2021, 08:53 PM) -- You can use sessions or static variables. -- Thanks for the assistance.
3,084 Views
8 Replies
06-08-2021, 09:34 PM
coderscvoen
    Thread: Pagination using ajax in codeigniter 4
Post: RE: Pagination using ajax in codeigniter 4

InsiteFX Wrote: (06-08-2021, 01:05 AM) -- You can do it, it has methods for getting that data see the below blog method $data PHP Code: -- /** * ----------------------------------------------------...
3,084 Views
8 Replies
06-08-2021, 10:58 AM
coderscvoen
    Thread: Pagination using ajax in codeigniter 4
Post: RE: Pagination using ajax in codeigniter 4

I removed the code from model and did everything in the controller. Code: -- $model = new StockModel(); $query = $model   ->select('photo_name')   ->where([    "deletion" = "no",    "display...
3,084 Views
8 Replies
06-07-2021, 10:03 PM
coderscvoen
    Thread: Pagination using ajax in codeigniter 4
Post: RE: Pagination using ajax in codeigniter 4

Well then; i will use the default pagination which comes with codeigniter 4 but i really do need assistance as the tutorials am seeing online, pagination is created by accessing the model directly lik...
3,084 Views
8 Replies
06-07-2021, 12:37 AM
coderscvoen
    Thread: Pagination using ajax in codeigniter 4
Post: Pagination using ajax in codeigniter 4

Hello guys...am trying to use this pagination class (https://github.com/coderscoven/codeigniter-ajax-pagination-library/blob/master/Ajax_pagination.php) developed by codexworld, to implement Ajax pagi...
3,084 Views
8 Replies
06-06-2021, 12:47 PM
coderscvoen
    Thread: Add Google search to codeigniter 4 website
Post: RE: Add Google search to codeigniter 4 website

InsiteFX Wrote: (03-29-2021, 02:30 AM) -- This works for me. Code: -- function googleTranslateElementInit() {   new google.translate.TranslateElement({pageLanguage: 'en'}, 'googl...
1,054 Views
3 Replies
03-31-2021, 05:01 AM
coderscvoen
    Thread: Add Google search to codeigniter 4 website
Post: Add Google search to codeigniter 4 website

Hi, first things first; i asked this same question on stackoverflow but no solutions yet so am asking it here hopping someone has an answer. I need help integrating google search engine into a websi...
1,054 Views
3 Replies
03-28-2021, 09:46 PM
coderscvoen

Theme © iAndrew 2016 - Forum software by © MyBB