I’m trying to use
CURLINFO_EFFECTIVE_URL to get the final redirect URL.
It works it most cases, but it appears to strip
#whatever from the URL.
So, if this is the final URL:
It’s showing me this:
Is there any way to force it to include the fragment identifier?
If not, is there any simple alternative to using
My primary goal is to get the final redirect URL and if
#uid- is in it, I want to
echo something – and if it doesn’t exist in the URL (or if there are not any redirects), I want to
echo something else…