1 replies
i have been trying to get this code working for me

[?php
$url =
"http://www.somedomain.com";
header("Location: $url");
exit();
?]

(naturally you change the 2 [square brackets] to <angle brackets>



but it does not work correctly i must be doing something wrong because when i click the link it just says like

http://www.website.com/://otherwebsite.com

if somebody knows what i´m doing wrong then it would be good to know thanks all
#code #php

Trending Topics