Welcome Guest, Not a member yet? Register   Sign In
Set a $_GET value
#4

(05-15-2024, 07:18 PM)kenjis Wrote: You should not change the $_GET or the GET parameter in the request.
Why do you need to change it?

Why, why not?
If it is possible in basic PHP then it seems to be a allowed way of working.

It's old code, but it works.
Now I need to use the basic, non-CI4-way, $_GET['foo'] to get the updated value.


The other possible solution would be redirect to the same URI with updated params, but that's seems to be a overkill.

Sure, It's better to to manipulate the variable $foo, but I thought the request could be updated with the new Get.
Reply


Messages In This Thread
Set a $_GET value - by CCAldo - 05-15-2024, 07:16 AM
RE: Set a $_GET value - by ozornick - 05-15-2024, 08:58 AM
RE: Set a $_GET value - by kenjis - 05-15-2024, 07:18 PM
RE: Set a $_GET value - by CCAldo - 05-15-2024, 11:28 PM
RE: Set a $_GET value - by ozornick - 05-16-2024, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB