Adding base_url() to header

php

Solution

Try with:

header('Location: ' . base_url() . '/page.php?x=3'); 

Problem

Is it possible to have something like the following but which actually works? ``` header('location: base_url(). page.php?x=3'); ```

Original source

Related problems