Is it possible to have something like the following, but which really works?
header('location: base_url(). page.php?x=3');
Try:
header('Location: ' . base_url() . '/page.php?x=3');
I used this for deferred forwarding in the header:
header('Refresh:5; url= '. base_url().'/YOURcontrollerName_or_functionName');
Source: https://habr.com/ru/post/1537078/More articles:How to write a module of private / protected methods in python? - pythonJAX-RS: is there a serializer for json for the root element, part of the list, parameter in the web service - javaIIS FastCGI request parameters from PHP - phpКак разобрать огромный файл по строкам, сериализовать и десериализовать огромный объект эффективно? - javaIn Javascript, why setting a prototype in a constructor function changes the value of .constructor to its instance? - javascriptGnuplot, how to reduce the number of ticks on the x axis - gnuplotSDL: get window height / width / rectangle? - sdlF # passing an array to an attribute - f #Запишите некоторые данные в базу данных в Codeigniter - sqlColon in real estate storage - javaAll Articles