Please can sumone help me with a code to get the value from a browser url with php like https://site.com/folder/#[email protected] grab/get the Email only without copying the # and send it to the next.php <html> <head> <script> var type = window.location.hash.substr(1); </script> </head> <body> <?php $email = "<script>document.write(type)</script>"; header( "location: next.php?email=$email&"); ?> </body> </html> >>. This didnt work keeps copying the # with the email help?