+ 1
Links in php Redirect
how can i open links with php or redirect a page?
3 Réponses
+ 20
header("Location:".URL); <-- redirect
echo "<a id=link href=".URL." target=_blank>Link</a><script>onload=function(){document.getElementById('link').click();};</script>"; <-- open in new tab
........
+ 2
Supporting @ValentinHacker: Server-sent redirects are usually better than doing it at the client.
+ 1
yes, i would the server-sent redirects