Giving back a bit PHP redirect
I tried a javascript redirect but got an undefined page
I used this
file_put_contents('logs.txt', "<script>window.location =' .$rsslink.'.php</script>".PHP_EOL , FILE_APPEND | LOCK_EX);
to find the problem
The . was appearing in the actual redirect. So I made the whole thing a variable
$redirect="<script>window.location ='"; $redirect.=$rsslink.'.php'; $redirect.="'</script>"; echo $redirect;
Rick