There is such a function
header("Location: ".$urlToDialogAuth); For example, in the first case $urlToDialogAuth will be http://ru.stackoverflow.com/ redirection will go off with a bang. In the second case, the same variable will be https://oauth.vk.com/authorize?client_id=500004&redirect_uri=http://i0l0o0h0i00nn.ru.s106.h00h0os.ru/backend/auth/auth.php&response_type=code&display=page&scope=nohttps,groups,photos,offline
No redirection happens, but! I thought the URI was broken, but no. If the pens go on it, then everything is ok. What is the trouble? Zeros specially hammered, while I hide from prying eyes :)
die();afterheader("Location: ".$urlToDialogAuth);- Alex