so I'm trying to do a dynamic redirect using a variable...
This works:
header ("Location: http://asseeeiffs.com");
This doesn't:
$url = http://asseeeiffs.com;
header ("Location: $url");
It sends to literally "$url" and throws a 404, instead of the value of $url.
Any help is appreciated.
This works:
header ("Location: http://asseeeiffs.com");
This doesn't:
$url = http://asseeeiffs.com;
header ("Location: $url");
It sends to literally "$url" and throws a 404, instead of the value of $url.
Any help is appreciated.