Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: search a value in multiple columns
Post: RE: search a value in multiple columns

jreklund Wrote: (04-06-2019, 12:38 AM) -- Here are some examples. PHP Code: --
11,059 Views
5 Replies
07-23-2024, 07:16 AM
anuragk
    Thread: how do i store some value to use after redirected from Payment gateway
Post: RE: how do i store some value to use after redirec...

ok but first it needs to work, set_cookie is not working is CI4 and using the mentioned way is not working for storing the cookie PHP Code: -- helper('cookie'); set_cookie('username', $data['b...
1,388 Views
9 Replies
10-14-2023, 10:54 AM
anuragk
    Thread: how do i store some value to use after redirected from Payment gateway
Post: RE: how do i store some value to use after redirec...

InsiteFX Wrote: (10-12-2023, 09:25 PM) -- Or save the info in an encrypted cookie. -- can you please explain how can I use an encrypted cookie? I tried using cookie but it is not working. PH...
1,388 Views
9 Replies
10-13-2023, 12:06 AM
anuragk
    Thread: how do i store some value to use after redirected from Payment gateway
Post: how do i store some value to use after redirected ...

i want to store some value to use later when the page is being redirected back from payment gateway.  for ex. i want customer name, address later after the payment is successful. i have tried using ...
1,388 Views
9 Replies
10-12-2023, 07:42 AM
anuragk
    Thread: Payment gateway response URL not working
Post: RE: Payment gateway response URL not working

Thank you everyone for the reply. the solution is to disable CSRF just for that particular route/link for ex. PHP Code: -- public array $globals = [         'before' => [             'csrf...
1,817 Views
5 Replies
05-15-2023, 11:08 PM
anuragk
    Thread: Payment gateway response URL not working
Post: RE: Payment gateway response URL not working

ok, it was the csrf filter causing a redirect so the CCAvenue gateway was unable to find the response page. I disabled it and now everything works as expected. but now the security is weak of course...
1,817 Views
5 Replies
05-15-2023, 11:18 AM
anuragk
    Thread: Payment gateway response URL not working
Post: RE: Payment gateway response URL not working

iRedds Wrote: (05-15-2023, 03:07 AM) -- If available in the browser. So everything works. Maybe you are using a broken link for the gateway. Or, for example, some of your global filters are blockin...
1,817 Views
5 Replies
05-15-2023, 03:25 AM
anuragk
  Question Thread: Payment gateway response URL not working
Post: Payment gateway response URL not working

Hi, I am trying to integrate the CCAvenue payment gateway into my project everything works but when I cancel the payment or the payment is successful, the payment gateway sends data to the response l...
1,817 Views
5 Replies
05-15-2023, 01:32 AM
anuragk
    Thread: time comparing problem
Post: RE: time comparing problem

kenjis Wrote: (05-13-2023, 07:40 PM) -- Time::parse() takes a string as a first parameter. https://codeigniter4.github.io/CodeIgniter4/libraries/time.html#now The string value for the time object...
2,098 Views
7 Replies
05-13-2023, 10:48 PM
anuragk
    Thread: time comparing problem
Post: RE: time comparing problem

The problem was with Time::parse, if we don't pass the locale it will automatically convert the time to the default locale so no matter where you convert the time while parsing you need to pass the l...
2,098 Views
7 Replies
05-13-2023, 01:36 AM
anuragk
    Thread: time comparing problem
Post: RE: time comparing problem

InsiteFX Wrote: (05-08-2023, 10:00 PM) -- PHP DateTime: Create, Compare and Format Dates Easily (https://thevaluable.dev/php-datetime-create-compare-format/#:~:text=Interval%20Between%20Different%20D...
2,098 Views
7 Replies
05-09-2023, 06:58 AM
anuragk
    Thread: time comparing problem
Post: time comparing problem

I am trying to compare two times on the same day. Code: -- $myTime = Time::now('Asia/Kolkata', 'en_US'); // get the current date and time echo $currentTime = Time::parse($myTime); // this prints ...
2,098 Views
7 Replies
05-08-2023, 02:23 AM
anuragk
    Thread: unexpected route problem
Post: RE: unexpected route problem

iRedds Wrote: (05-02-2023, 03:42 PM) -- What are you new to? In php? In the first example, the handler is specified as a string. In this case, the class will be checked for the existence of a name...
1,546 Views
5 Replies
05-02-2023, 10:11 PM
anuragk
    Thread: unexpected route problem
Post: RE: unexpected route problem

iRedds Wrote: (05-02-2023, 07:09 AM) -- Specify a class name with a namespace. -- can you explain how and why? i am new to this because on the other hand, this works fine Code: -- $routes->m...
1,546 Views
5 Replies
05-02-2023, 07:13 AM
anuragk
    Thread: unexpected route problem
Post: unexpected route problem

if I use Code: -- $routes->post('login', 'Admin::do_login'); -- everything works as expected but when I use Code: -- $routes->match(['get', 'post'], 'login', [Admin::class, 'do_login'])...
1,546 Views
5 Replies
05-02-2023, 07:00 AM
anuragk
    Thread: problem with form data
Post: RE: problem with form data

Thank you everyone for your help
7,990 Views
21 Replies
04-18-2023, 07:37 AM
anuragk
    Thread: problem with form data
Post: RE: problem with form data

abatrans Wrote: (04-13-2023, 12:13 AM) -- anuragk Wrote: (04-12-2023, 01:09 AM) -- kenjis Wrote: (04-12-2023, 01:01 AM) -- When you post the HTML form? Can you show all code for the controller a...
7,990 Views
21 Replies
04-13-2023, 05:12 AM
anuragk
    Thread: problem with form data
Post: RE: problem with form data

HermyC Wrote: (04-12-2023, 12:57 PM) -- anuragk Wrote: (04-12-2023, 06:28 AM) -- kenjis Wrote: (04-12-2023, 05:35 AM) -- I just changed this: https://github.com/kenjis/problem-with-form-data/blob/5...
7,990 Views
21 Replies
04-12-2023, 10:55 PM
anuragk
    Thread: problem with form data
Post: RE: problem with form data

kenjis Wrote: (04-12-2023, 05:35 AM) -- I just changed this: https://github.com/kenjis/problem-with-form-data/blob/5b24cf831d599e1ac35ea168e0650f08acedcf3c/app/Controllers/Appointment.php#L19-L22 ...
7,990 Views
21 Replies
04-12-2023, 06:28 AM
anuragk
    Thread: problem with form data
Post: RE: problem with form data

kenjis Wrote: (04-12-2023, 01:29 AM) -- I cannot reproduce. See https://github.com/kenjis/problem-with-form-data -- Sir, have you made any changes to the code? because I am still getting the blan...
7,990 Views
21 Replies
04-12-2023, 02:06 AM
anuragk

Theme © iAndrew 2016 - Forum software by © MyBB