Hi, I need to redirect to dynamic url, this url is passed as parameter, like this:
$origen=$_GET['xorigen'];
header("Location: http://localhost/nomina/" .$origen);
But it doesn't work, the error I got is 404
also I tried with
header("Location: $origen");
but still I got the error
my question is:
how should I pass the $origen var to header() function to redirect dynamically?
all the best